"GRAYMAP" for Powerups

Moderator: GZDoom Developers

Post Reply
User avatar
Theshooter7
Posts: 456
Joined: Sun Mar 05, 2006 6:44 pm

"GRAYMAP" for Powerups

Post by Theshooter7 »

Simple predefined colormap that is a full Grayscale effect.
Attachments
graymap.zip
(542 Bytes) Downloaded 29 times
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49226
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: "GRAYMAP" for Powerups

Post by Graf Zahl »

Deprecated features won't get extended. You can achieve the same result by setting a custom colormap.
User avatar
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

Post by NeuralStunner »

It's possible to make a desaturated display? How? :?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49226
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: "GRAYMAP" for Powerups

Post by Graf Zahl »

'powerup.colormap'. For a gray map it should be 'powerup.colormap 255,255,255'

Oddly enough it was never documented in the Wiki...
User avatar
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

Post by NeuralStunner »

Graf Zahl wrote:Oddly enough it was never documented in the Wiki...
Thus why I never knew it existed. Handy though!
Gez
 
 
Posts: 17939
Joined: Fri Jul 06, 2007 3:22 pm

Re: "GRAYMAP" for Powerups

Post by Gez »

What's the difference from Powerup.Color?

What does it change to use 6 instead of 3 parameters?
User avatar
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

Post by NeuralStunner »

Gez wrote:What's the difference from Powerup.Color?
I guess it translates everything, instead of blending.
Gez wrote:What does it change to use 6 instead of 3 parameters?
Start R, G, B, End R, G, B?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49226
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: "GRAYMAP" for Powerups

Post by Graf Zahl »

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... :mrgreen:)
User avatar
Enjay
 
 
Posts: 26979
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: "GRAYMAP" for Powerups

Post by Enjay »

I didn't even know this feature existed.

Very cool. :)
User avatar
Theshooter7
Posts: 456
Joined: Sun Mar 05, 2006 6:44 pm

Re: "GRAYMAP" for Powerups

Post by Theshooter7 »

Enjay wrote:I didn't even know this feature existed.

Very cool. :)
Indeed! If I had known this, I wouldn't have bothered. :P

This is pretty cool, though. Thanks.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”