Regression after gl_light_ambient removal

Bugs that have been resolved.

Moderator: Graf Zahl

Posts: 257
Joined: Sun Aug 07, 2011 13:36

Regression after gl_light_ambient removal

Post by _mental_ » Sun Dec 25, 2016 10:23

After removal of gl_light_ambient CVAR in this commit dark sectors appear as pitch black.
no_gl_light_ambient.jpg (67.59 KiB) Viewed 418 times
gl_light_ambient.jpg (86.97 KiB) Viewed 418 times
Well, maybe regression is not a right word in this case but the difference is very noticeable.

I'm running the latest version at the moment using OpenGL 4.1 Core Profile on macOS. Value of gl_lightmode CVAR is 3 (default). Command line:

Code: Select all

-iwad heretic +map e1m2 "+warp 1711 -322" +gamma 2 +notarget

User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Re: Regression after gl_light_ambient removal

Post by Graf Zahl » Sun Dec 25, 2016 13:01

Hm. Seems I was wrong about the light level cutoff. I had to rewrite the light level calculation for levels below 100 to avoid this steep dropoff.


Return to “Closed Bugs”