Brightmaps+Lights rendering issue

Bugs that have been resolved.

Moderator: Graf Zahl

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

Brightmaps+Lights rendering issue

Post by _mental_ » Sun Jun 19, 2016 9:32

Using the compatibility renderer a particular combination of dynamic lights and brightmaps causes the following issue:
armor.png
armor.png (415.44 KiB) Viewed 92 times
health.png
health.png (442.81 KiB) Viewed 92 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 » Sun Jun 19, 2016 10:51

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”