Colored Brightmaps

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderators: GZDoom Developers, Raze Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
PhoenixCyanFire
Posts: 35
Joined: Fri Jul 07, 2023 12:00 pm
Preferred Pronouns: She/Her
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)

Colored Brightmaps

Post by PhoenixCyanFire »

Would somebody be interested in making Colored brightmaps for Doom 1 and 2? Possibly using Brightmaps Plus as a base?
User avatar
ramon.dexter
Posts: 1532
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Colored Brightmaps

Post by ramon.dexter »

Okay, since brightmap is making bright of the (already colored) texture, what's you point? What about you actually show what you want make?
User avatar
Chris
Posts: 2942
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: Colored Brightmaps

Post by Chris »

ramon.dexter wrote: Tue Feb 27, 2024 1:42 am Okay, since brightmap is making bright of the (already colored) texture, what's you point?
I don't know about them, but in the general sense colored brightmaps are useful for self-illuminating lights or glows. For example, a zombie with glowing red eyes. The skin would be a pale white, while the brightmap would add pure red around the eyes where the glow hits the cheeks and nose. In a dark room, the red brightmap would mix with the pale white skin and produce red looking skin, and in a bright room with white light, the red glow would accumulate with the white light and you'd see white skin with a slight red tint. Without colored brightmaps, to make a red glow in the dark you'd have to make the skin red so a white light brightmap combines with it to look red, but then when placed in a bright room with white light, the skin would still look just as red. The white sector light + white brightmap light on a red surface will look red, since a red surface will only reflect red colors, while a white sector light + red brightmap light on a white surface will look white with a red tint, since a white surface will reflect all colors.
PhoenixCyanFire
Posts: 35
Joined: Fri Jul 07, 2023 12:00 pm
Preferred Pronouns: She/Her
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)

Re: Colored Brightmaps

Post by PhoenixCyanFire »

Colored brightmaps look better. Trust me
User avatar
Enjay
 
 
Posts: 26535
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Colored Brightmaps

Post by Enjay »

Yep, I sometimes add a bit of colour to my brightmaps.

Imagine a wall texture with a yellowish light on it.
The light is meant to be casting a pool of light around itself on the wall texture that it is on, and this effect is baked in.
If you just use a white brightmap, as the pool of baked-in light on the texture fades to the colour of the background wall, it's very easy to get a bright "fringe" of lighter coloured wall at the edges of the light pool.*
If you use a brightmap with a yellowish appearance, then the pool of light is coloured right to the edges and it is less obvious that the wall itself has been brightened.

This can be particularly obvious when making small details bright and you have anti-aliasing on. So, some small red demon eyes on a texture might show a white-ish bright halo around them on the texture. Using a red brightmap can improve this.
Post Reply

Return to “Assets (and other stuff)”