Page 1 of 1

(fixed) Distance Shading / Bright objects

Posted: Wed Nov 16, 2011 8:14 pm
by Gambit37
Just so it doesn't get forgotten: Distance shading / always bright items are broken:

1) Monsters aren't distance shaded
2) Bright projectiles (fireballs etc.) do not remain bright in dark levels, they are being incorrectly shaded to the current light level

Re: (fixed) Distance Shading / Bright objects

Posted: Wed Nov 16, 2011 8:25 pm
by Sophia
I was going to wait to make a full release until I had more changes.
However, this issue has been fixed, and there's no point in me just sitting on it.

So here: A new .exe, we'll call it DSB 0.49A.

Re: (fixed) Distance Shading / Bright objects

Posted: Wed Nov 16, 2011 9:10 pm
by Gambit37
Cool, thanks. #1 is fixed, #2 is still broken though. If you launch a fireball in the second level of the test dungeon (which is dark), the fireball is shaded to almost as dark. I thought these used to be fully bright...?

Re: (fixed) Distance Shading / Bright objects

Posted: Wed Nov 16, 2011 9:13 pm
by Gambit37
Actually, sorry, it's fine in the test dungeon, but broken in my own dungeon. I changed the bitmaps for the fireball using an animated strip.. Would this affect the brightness stuff?

Re: (fixed) Distance Shading / Bright objects

Posted: Wed Nov 16, 2011 9:35 pm
by Sophia
Animation shouldn't be a problem but I'm guessing you also are using a png with alpha instead of a power pink bmp, right?
I tried to make the thing respect alpha but then I forgot that I started that and left some half-working code in there. :?

Can you send me the image you're using? I can test with that.