0 votes

Hello everyone, i got a bit of a pickle to solve...

i had a neat idea for the graphics of my 2D game, i want to have light2D nodes around the scene and all of the areas that are not under the light will have a sprite. Basically i want to create the shadows "manually" by pen. I did some scratches on a texture and my idea was to make a shader to make this texture invisible when touching light2D.First i tought about using light masks and other types (like sub), but i don't think this is the way to do it, shaders seem more elegant.

Well anyway, thanks for you time.

in Engine by (12 points)

Please log in or register to answer this question.

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.