Regression after gl_light_ambient removal

Bugs that have been resolved.

Moderator: Graf Zahl

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

Regression after gl_light_ambient removal

Post by _mental_ »

After removal of gl_light_ambient CVAR in this commit dark sectors appear as pitch black.
no_gl_light_ambient.jpg
no_gl_light_ambient.jpg (67.59 KiB) Viewed 2244 times
gl_light_ambient.jpg
gl_light_ambient.jpg (86.97 KiB) Viewed 2244 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
Contact:

Re: Regression after gl_light_ambient removal

Post by Graf Zahl »

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.
Locked

Return to “Closed Bugs”