- Home /
How to darken one or more sprites with another sprite?
I have a sprites/GUI images and I want an overlayed image to darken only the sprites/GUI images, not anything else in the scene. Like multiplying the color of the sprite with (1 - n * alpha of overlay), where n is how much I want to darken it by?

example.png
(23.6 kB)
Comment
Your answer
Follow this Question
Related Questions
How to properly handle flipping in a Normal-Mapped Sprite Shader? 0 Answers
Shader on 3D model not seen over 2D sprites 0 Answers
Allow 2D sprite to receive light from any direction and show on both sides 0 Answers
Skew a sprite at runtime while preserving the pixel shape? 1 Answer
Are shaders more efficient than manual pixel replacement? 0 Answers