Question by
hippogames · Apr 02, 2017 at 10:12 AM ·
spriterenderercolor changeeyes
How to ignore specified color when changing sprite color?
Hi! I want to change Sprite Renderer color, but ignore changing specified color. In my case I want to change eye color but ignore white pixels with color=(1,1,1,1). Also, I don't want to use masks. How should I modify Sprites-Default shader? Thanks for any help!
1280px-bright-anime-eyessvg1.png
(76.5 kB)
Comment
how about adding an if statement that checks for white and in that case doesn't multiply the color.