+1 vote

Hi there, I just try to do something very simple.

I have a sprite with a texture (animating) which is the child of a Node2D.

The Parent has a Visual Shader attached which deformes the vertexes (it's a water mirror shader)

For the fragment shader I just thought it would be correct like I did in the image:

enter image description here

For me, the alpha is the current alpha value of the sprite. But all I get is a big colored rectangle instead of a silhouette

So what I am doing wrong here?

in Engine by (23 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 Frequently asked questions and 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 [email protected] with your username.