0 votes

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

Godot version 3.2.3
in Engine by (15 points)

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?

1 Answer

+1 vote
Best answer

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

by (7,190 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.