I'm trying to follow a tutorial at
https://docs.godotengine.org/en/stable/tutorials/performance/vertex_animation/animating_thousands_of_fish.html
and I'm lost at the first step:
//time_scale is a uniform float
float time = TIME * time_scale;
Where and how are TIME and time_scale defined? Is this code meant to go in a script or in the shader? It throws up various errors in each place as I try to work with it.
The next step is equally vague:
//side_to_side is a uniform float
VERTEX.x += cos(time) * side_to_side;
Where is this code going? I'm very frustrated, this tutorial is like a lot of tutorials I've seen where it is assumed you know things you don't. Progress is very slow most days I get to use Godot becuase of this