Pages: [1]
Author Topic: Very slight, almost unnoticeable lighting/sprite/scrolling bug with spikes  (Read 5040 times)
Posts: 70

View Profile
« on: August 16, 2013, 03:54:15 PM »

Edit: Just getting the technical stuff out of the way first: It occurs on either the or Steam versions, and all of my drivers are up to date for my GTX 580. Forced AA/AF/transparency AA are disabled by default in my graphics control panel, no special profile in place for Spelunky.exe.

I realise that title is fairly obtuse, but I hope the video I'll link to at the end of this thread explains it better than I can here.

The problem is that when the screen vertically, the top edge of the spike sprite seems to get a very slight, but noticeable shadow on the top of it. Now, I've had a look through the textures in alltex.wad, and can't see anything amiss in the textures themselves, but looking at the normal maps in alltilesN.jpg, I think I might have figured out what's doing it.

First of all, it's a jpeg. Quite why a normal map is being stored in a format that creates compression artifacts, I don't know, but if you look at this small snippet here with the contrast turned right up on the normalmap layer, which is underneath the transparent tilemap layer:

You'll see that the compression creates a LOT of artifacts that somewhere along the game reading in the normal map, it might be applying something to the top edge of the spike sprite, causing just such the bug mentioned. I can't say for sure, of course, since I don't exactly have access to the source! Tongue

Here are a few more images of the same area of the tilemap:

The video demonstrating it is here.
« Last Edit: August 16, 2013, 05:24:22 PM by NalaNosivad » Logged

Stupid banners in the top-left corner of the screen annoying you in the new Spelunky? Using a PS3 controller via 360ce or MotionInJoy?

Grab my light UI/PS3 controller mod!
Pages: [1]
Jump to: