Brightmaps+Lights rendering issue

Bugs that have been resolved.

Moderator: Graf Zahl

_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
health.png
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.
You do not have the required permissions to view the files attached to this post.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

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.

Return to “Closed Bugs”