Wrong sprite brightness in light transfer target sectors

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Wrong sprite brightness in light transfer target sectors

Postby printz » Thu Nov 22, 2018 1:48 pm

Sprite brightness in sectors targeted by floor/ceiling light transfer specials is set wrongly. It's supposed to be the average of the floor and ceiling brightnesses, but it only takes the light level of the floor, even if the thing is high away from the floor.

Check the imgur post here for details: https://imgur.com/a/uLBlvG8
Attachments
testlight.wad.zip
The test wad
(1.62 KiB) Downloaded 2 times
User avatar
printz
BOW BEFORE ME!
 
Joined: 26 Oct 2006
Location: Bucharest, Romania

Re: Wrong sprite brightness in light transfer target sectors

Postby Graf Zahl » Thu Nov 22, 2018 1:55 pm

Known issue. Unfortunately only fixable by compatibility option because far too many ZDoom mods depend on this behavior. This change was made intentionally in ZDoom's early days, btw, because a certain person liked it better this way... :?
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Wrong sprite brightness in light transfer target sectors

Postby printz » Thu Nov 22, 2018 4:24 pm

In any case, in Softpoly video mode there is a bug: the sprites only get the sector's light level.

https://imgur.com/a/I12OwFZ
User avatar
printz
BOW BEFORE ME!
 
Joined: 26 Oct 2006
Location: Bucharest, Romania

Re: Wrong sprite brightness in light transfer target sectors

Postby Graf Zahl » Thu Nov 22, 2018 4:55 pm

It's not the only bug in Softpoly. There's reasons why it is declared "experimental"...
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest