Line_Horizon does not take Doom 64-style lights into account

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Dark Pulse
Posts: 66
Joined: Fri Nov 21, 2014 5:35 pm
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support

Line_Horizon does not take Doom 64-style lights into account

Post by Dark Pulse »

Lines tagged with the Line_Horizon effect do not take Doom 64-style lighting into account - instead, the extended lighting of Line_Horizon will go off the normal, Doom-style sector lighting.

Easily reproducible in any one-sector map: Set Ceiling/Floor Doom 64-style lighting, then tag your the sector's linedefs with the Line_Horizon effect. The main sector ceiling/floor will be colored, but once it hits the Linedefs, it will use the normal Doom sector lighting (which, by default, is pure white).

You can slightly kludge it (assuming both floor and ceiling don't need different colors) by setting the main sector lighting as well - so long as they're all "the same color," everything will look "right." However, if they're different colors, this is not possible, and it will never look right - one color will wind up "messed with" by the main sector lighting. Setting the main sector lighting color also messes with the Doom 64-style lighting within the sector, throwing it out of whack, so essentially this only "fixes" things if every flat/wall/thing within the sector would be colored the same thing anyway - rendering Doom 64-style lighting moot.
Attachments
LineHorizonBug.zip
Example map demonstrating bug, built for Doom 2 MAP01.
(624 Bytes) Downloaded 34 times
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Line_Horizon does not take Doom 64-style lights into acc

Post by _mental_ »

Fixed in 8ca3427.
Post Reply

Return to “Closed Bugs [GZDoom]”