Show transparent sprites as one sprite

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By itaypoo

Hello! My player model is made out of 3 layers, two legs, and a body. and when I tried to create a ghost effect, the 3 layers overlap with each other and it looks wrong. I am using Modulate on the parent node to make the sprites transparent. Does anyone know how do I fix this? Can I maybe mask the leg sprites? Thank you!!

How it looks
Layer order

When transparent layers overlap, they create a darker area because the two values are adding together (idk how to explain this properly). I don’t know how to fix it. Maybe you can get rid of the overlapping areas. Or have everything on the same layer?

TheJokingJack | 2021-01-06 22:57

:bust_in_silhouette: Reply From: exuin

Yes, you can use a Light2D as a mask. There’s a demo for it, actually.