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

asked Jun 13, 2019 in Engine by Argysaur (20 points)
retagged Jun 17, 2019 by Argysaur

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.