Brightmaps+Lights rendering issue

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
_mental_
Developer
Developer
Posts: 259
Joined: Sun Aug 07, 2011 13:36

Brightmaps+Lights rendering issue

Post by _mental_ »

Using the compatibility renderer a particular combination of dynamic lights and brightmaps causes the following issue:
armor.png
armor.png (415.44 KiB) Viewed 393 times
health.png
health.png (442.81 KiB) Viewed 393 times
The bug was initially reported here. To reproduce this load lights.pk3 with SBrightmaps.pk3:

Code: Select all

-iwad doom2 -nomonsters -file lights.pk3 -file SBrightmaps.pk3 +map map01
The modern renderer is not affected.

It appeared that lights can be rendered using wrong material set, part of brightmaps pass is still applied in this case.
I made pull request with the possible fix.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Brightmaps+Lights rendering issue

Post by Graf Zahl »

Thanks. This was clearly the old code no longer being compatible with how things need to be done now and must have slipped through when re-adding it.
Locked

Return to “Closed Bugs”