Dynamic lights discrepancy, Modern vs. Legacy

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Dynamic lights discrepancy, Modern vs. Legacy

Post by _mental_ »

This map from other bug report is rendered quite differently with OpenGL 3+ (left) and 2 paths (right)
dynlights_modern_vs_legacy.jpg
This is not started with 2D refactoring, it works like that for a while.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Dynamic lights discrepancy, Modern vs. Legacy

Post by Graf Zahl »

This looks like the GL3+ screenshot ends up with a light level greater than 1.0. The shaders can apply a light level up to 1.5 before they start clipping. OpenGL 2 uses modulated texture blending. You cannot go past 1.0 with that method.
Post Reply

Return to “Closed Bugs [GZDoom]”