BrightMaps turn to black!

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Logan MTM
Posts: 179
Joined: Wed Jan 04, 2006 2:52
Location: Rio de Janeiro - BRAZIL
Contact:

BrightMaps turn to black!

Post by Logan MTM »

[r424] at GZDoom 1.3.13 beta

[spoiler]Image
Image[/spoiler]

This happens when tha actor is over Dynamic lights and the Frame have Disablefullbright flag in Brightmaps defs.

I can make a perfect example wad to reproduce this bug if needed!
So as you read this know my friends I'd love to stay with you all.
Please smile when you think of me. My body's gone that's all...
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: BrightMaps turn to black!

Post by Enjay »

I edited the above post to put the images in spoiler tags because they are big and break the forum layout at lower resolutions.

I too have been noticing some odd lighting effects on sprites when dynamic lights hit them. Most of the time it is OK but they sometimes appear a bit too bright and perhaps I have seen something similar on decals (mainly blood splats). Unfortunately, I have not been able to isolate a good test case.

One thing, lighting mode may be relevant. I noticed the effects when using Doom lighting mode and changing mode reduced or removed the effect.
Rico
Posts: 3
Joined: Thu Oct 22, 2009 22:20

Re: BrightMaps turn to black!

Post by Rico »

LOS is getting too much trouble [Graphically], my friend? =)
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: BrightMaps turn to black!

Post by Enjay »

Here's a video of the kind of thing I'm getting. It may not be the same problem but it is sprites and dynamic lights related.

http://www.zen64060.zen.co.uk/dynamicsprites.wmv

In the video, as I approach the demon corpse in Doom lighting mode, it gets brighter than it should. Then I try all the other lighting modes and they do not show the problem. Finally, back in Doom mode, I have a quick look at a few other sprites to show that it happens pretty commonly on a level that uses lots of dynamic lights.

As I said, I'm sure that I have seen a similar effect on decals too occasionally.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: BrightMaps turn to black!

Post by Graf Zahl »

It's not the same. This one was quite obvious: The brightmap state was not properly checked when applying the dynamic lights so the code thought the sprite was still fullbright and no light processing was done at all.
User avatar
Logan MTM
Posts: 179
Joined: Wed Jan 04, 2006 2:52
Location: Rio de Janeiro - BRAZIL
Contact:

Re: BrightMaps turn to black!

Post by Logan MTM »

And... ?
So as you read this know my friends I'd love to stay with you all.
Please smile when you think of me. My body's gone that's all...
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: BrightMaps turn to black!

Post by Enjay »

Logan MTM wrote:And... ?
The thread is now in closed bugs and the code has been updated. I'd say it's fixed. ;)

I'll put a new build on line a little bit later on.
Locked

Return to “Closed Bugs”