Base Player.ColorRange on Loaded PlayPal

Moderator: GZDoom Developers

Post Reply
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:

Base Player.ColorRange on Loaded PlayPal

Post by NeuralStunner »

When using a new palette in DooM, tone values based on DooM's are still used to decide the result, even when the new source palette has its colors "backwards":
Spoiler:
Tried switching the values in Player.ColorRange around, so the higher number was first - It understood the range just fine, but still rendered it backwards.

It would be more helpful if the specified color range were colorized from the loaded palette. (Bonus: A ColorRange could span two ramps and wouldn't try to make a continuous single color range.)

The attached file is simply a brightness-inverted version of the Doom palette. Load it and check your player sprite via chasecam - Your colors will appear as if the original palette is in use.
Attachments
NS_InverseDoomPal.pk3
(1.74 KiB) Downloaded 44 times
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: Base Player.ColorRange on Loaded PlayPal

Post by NeuralStunner »

Looking back at this, I did a bit of reformatting and added an example mod.

(Also I hadn't realized this topic was so old now. :shock: )
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Base Player.ColorRange on Loaded PlayPal

Post by Gez »

This might be related to spaldoom.lmp and spalhtic.lmp in zdoom.pk3.
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: Base Player.ColorRange on Loaded PlayPal

Post by NeuralStunner »

I don't remember if those are even used any more. And aren't they for skin use?

I've noticed this issue with all my custom palettes. They use left-to-right lightness ramps (opposite of DooM's) and they colorize horribly. (Unless I load over Heretic or Hexen, but that still uses their original tone ranges and looks terrible.) The actual range used doesn't matter, it still comes out like DooM's 112~127 would.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”