0 votes

Working in Godot 2.

I have a character made of a sprite sheet and sprites on top that will rotate and scale over time.

What I would like to do is fade out and manipulate the pixels of all these sprites as they go past some point. I was wondering if it were possible to create some sort of overlaying node with a shader that could sample and change the pixels of only certain nodes. (Probably based on their Z order or parenting.)

I sort of understand how to write some simple shaders and apply them to a single node.

Is there a way to apply such a thing to multiple sprites (regardless of texture region or transformations) just based on the pixels as they are on the screen?

in Engine by (5,242 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.