"GRAYMAP" for Powerups
Moderator: GZDoom Developers
- Theshooter7
- Posts: 456
- Joined: Sun Mar 05, 2006 6:44 pm
"GRAYMAP" for Powerups
Simple predefined colormap that is a full Grayscale effect.
- Attachments
-
graymap.zip
- (542 Bytes) Downloaded 29 times
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49226
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: "GRAYMAP" for Powerups
Deprecated features won't get extended. You can achieve the same result by setting a custom colormap.
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: "GRAYMAP" for Powerups
It's possible to make a desaturated display? How? 

- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49226
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: "GRAYMAP" for Powerups
'powerup.colormap'. For a gray map it should be 'powerup.colormap 255,255,255'
Oddly enough it was never documented in the Wiki...
Oddly enough it was never documented in the Wiki...
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: "GRAYMAP" for Powerups
Thus why I never knew it existed. Handy though!Graf Zahl wrote:Oddly enough it was never documented in the Wiki...
Re: "GRAYMAP" for Powerups
What's the difference from Powerup.Color?
What does it change to use 6 instead of 3 parameters?
What does it change to use 6 instead of 3 parameters?
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: "GRAYMAP" for Powerups
I guess it translates everything, instead of blending.Gez wrote:What's the difference from Powerup.Color?
Start R, G, B, End R, G, B?Gez wrote:What does it change to use 6 instead of 3 parameters?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49226
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: "GRAYMAP" for Powerups
It's different effect
Powerup.Color is for palette blends.
Powerup.Colormap is the generalization of the old INVERSEMAP, GOLDMAP etc colormaps. It desaturates a palette and then creates a color ramp from the first specified color to the second one.
So Powerup.Colormap 0,0,0,255,255,255 and Powerup.colormap 255,255,255 both create a grayscale, Powerup.Colormap 255,255,255,0,0,0 creates the well known inverse map and Powerup.Colormap 255,0,0,0,255,0 creates a red to green effect (which, btw, is quite ugly...
)
Powerup.Color is for palette blends.
Powerup.Colormap is the generalization of the old INVERSEMAP, GOLDMAP etc colormaps. It desaturates a palette and then creates a color ramp from the first specified color to the second one.
So Powerup.Colormap 0,0,0,255,255,255 and Powerup.colormap 255,255,255 both create a grayscale, Powerup.Colormap 255,255,255,0,0,0 creates the well known inverse map and Powerup.Colormap 255,0,0,0,255,0 creates a red to green effect (which, btw, is quite ugly...

Re: "GRAYMAP" for Powerups
I didn't even know this feature existed.
Very cool.
Very cool.

- Theshooter7
- Posts: 456
- Joined: Sun Mar 05, 2006 6:44 pm
Re: "GRAYMAP" for Powerups
Indeed! If I had known this, I wouldn't have bothered.Enjay wrote:I didn't even know this feature existed.
Very cool.

This is pretty cool, though. Thanks.