[SOLVED] custom player colour RGB with true colour sprites

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!
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.
User avatar
Nash
 
 
Posts: 17506
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

[SOLVED] custom player colour RGB with true colour sprites

Post by Nash »

It seems when the PLAY* sprites are in true colour PNG, the sprite would only look correct untranslated (in Doom's case, the "Green" colour preset). If I attempt to use a custom RGB value, the entire sprite gets quantized to the Doom palette and loses the beautiful colours from the original PNG.

Is there anything I can do about this?
Last edited by Nash on Fri Oct 18, 2019 6:29 am, edited 1 time in total.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Using custom player colour RGB with true colour sprites

Post by Graf Zahl »

How about the +DONTTRANSLATE flag?
User avatar
Nash
 
 
Posts: 17506
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: Using custom player colour RGB with true colour sprites

Post by Nash »

Ah, that did the trick, though at the expense of a colourizable player. Though TBH that wouldn't have worked anyway because of the true colour nature of the sprites. Thanks. :)

Return to “Assets (and other stuff)”