Regression after gl_light_ambient removal

Bugs that have been resolved.

Moderator: Graf Zahl

_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
gl_light_ambient.jpg
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
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: 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.

Return to “Closed Bugs”