Brightmaps on floor and ceilings effect actor sprites.

Moderator: GZDoom Developers

User avatar
Steve5563
Posts: 82
Joined: Sun Jan 27, 2019 11:18 pm
Operating System Version (Optional): windows 10
Graphics Processor: nVidia with Vulkan support
Location: Australia

Brightmaps on floor and ceilings effect actor sprites.

Post by Steve5563 »

hi just curious,
would it be possible to have a toggle feature where textures that use brightmaps that are applied to the floors and ceilings in a map.
be able to add additional brightness to actor sprites only if the color brightness value of the brightmap is a higher value then the sector brightness in a map.
if its to tricky to do for the floors and ceilings with needing some sort of interpolation scripting as player moves from floor to ceiling height values,
i would still like to request this feature as a bare bones feature and only work from the floor textures.

for example if the brightmap is using only 2 colors black and white,
the black color represents a brightness of 0 and white represents a brightness of 255.
if the player is standing in a map sector with a sector brightness value of 128 and the brightmap color that the player is standing on is black the players sprite brightness remains clamped at the maps sector brightness value of 128,
but if the sector brightness is 128 and the brightmap color that the player is standing on is white the player sprite brightness value is increased to the brightness of 255 value?

if this feature is possible, could it also be possible to add the brightmap color values to tint the sprites, similar to how a sector color can tint a sprite.
cheers.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49182
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Brightmaps on floor and ceilings effect actor sprites.

Post by Graf Zahl »

No, sorry. The brightmaps are a pure rendering effect, it'd totally impractical to check them for their content to apply additional effects.
User avatar
Steve5563
Posts: 82
Joined: Sun Jan 27, 2019 11:18 pm
Operating System Version (Optional): windows 10
Graphics Processor: nVidia with Vulkan support
Location: Australia

Re: Brightmaps on floor and ceilings effect actor sprites.

Post by Steve5563 »

that's a shame, i worked out a way how to make brightmaps texture a level like a light map does.
would have been a handy feature to help apply the correct lighting so everything looks natural as i need to set the sector brightness to 0 for the full effect of the brightmaps.
cheers.

Return to “Closed Feature Suggestions [GZDoom]”