Fog + dynamic lights = ugly :(

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Fog + dynamic lights = ugly :(

Post by Nash »

Dynamic lights in GZDoom look great, but as soon as fog is introduced into the picture, all of a sudden, dynamic lights look ugly. :( It's like suddenly the lights are forced to become additive lights. The vibrant contrast will look muddy and washed out.

Is this a bug or are there any technical reasons why this happens? If it's a bug, I'll report and hope it gets fixed one day.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Fog can't be properly composited with the way lights are rendered so it has to be done additive in order to work at all.
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

I see. So it's a technical limitation then.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Yes.
Locked

Return to “GZDoom”