0 votes

I am trying to apply a water shader to a certain tile in my tileset, but I want the animation to move across all connected tiles, and not simply play an identical animation on every tile.

To do this I would like the animation to vary over the entire 2D space rather than only vary on the UV space within each tile.

I have tried to use FRAGCOORD, however this seems to track the camera/viewport, rather than respect global coordinates. I've also tried POINT_COORD but this seems to return 0 every time.

Forgive me, I am very new to Godot

in Engine by (20 points)
retagged by

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.