Dynamic Lighting and Sector_SetColor

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
Kate
Posts: 25
Joined: Fri Dec 22, 2006 6:31
Location: United States
Contact:

Dynamic Lighting and Sector_SetColor

Post by Kate »

Sector_SetColor was designed to affect the saturation of everything in the sector, but for some reason this doesn't seem to apply to dynamic lighting. Instead, the lighting seems to be processed post-effect, causing it to "float" over the color effects, like white additive lights in a blue sector would usually turn blue against the walls of the blue sector, but in this case it remains white, both inside the sector and out.

Is there any particular reason for this?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Sure. White light in a blue room still shines white. If you need blue light define a blue one.
Locked

Return to “GZDoom”