Use Shaders to blend alpha values?
As you can see in this image, the shadows of my sprites are darker when they overlap. These shadows are just drawn and then flipped upside down to match what is casting them. Is there any way to get them to not add up? (i.e all shadows would have the same opacity even when overlapping).
I think shaders are the answer but i'm not sure. I'm also unsure where I would begin learning to write shaders for 2D art! Can someone point me in the right direction?
Answer by gjttt1 · Sep 04, 2015 at 03:34 PM
For anyone in the future, the answer was basically 'Use the Stencil buffer'. Worked perfectly. Check Here.
Your answer
Follow this Question
Related Questions
vertex shader with alpha channel 0 Answers
Tint Multiple Textures Separately 1 Answer
Add contrast to projector/light? OR add fade in/out to projector/multiply 1 Answer
Shadows on alpha clipping/vertex offset shaders misaligned when using screen space texture 0 Answers
Projecting hole in Unity 5 0 Answers