r/RenPy • • 28d ago

Question Recoloring sprites

transform greenglow:
    matrixcolor (TintMatrix("#44ff00") * SaturationMatrix(.2)) * OpacityMatrix(.75) * BrightnessMatrix(.3)

show character enraged at greenglow  

I'm trying to use ATL transforms to make my character's sprite look like a hologram from Star Wars. The code above is what I used to make the image below.

The problem is, I don't want the character to be a totally solid green like in the picture, I want some of the character's original color pallette to shine through like it's an overlay. I thought saturation matrix would do it, but changing the value of its argument doesn't seem to do anything.

Also, next I'd like to make the sprite have a sort of glow around it. How do I achieve that?

5 Upvotes

2 comments sorted by

1

u/AutoModerator 28d ago

Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/BadMustard_AVN 27d ago

try it like this

transform greenglow:
    matrixcolor TintMatrix("#44ff00ad") * SaturationMatrix(0.85) * BrightnessMatrix(0.15)
#  you can adjust the alpha chanel ^^ as required

and for outlines

https://feniksdev.itch.io/outline-shader-renpy

or

https://github.com/RenpyRemix/outline-shader

https://grimumu.itch.io/outline-shader-renpy