My Goal is to create a texture that flows along a path. An analogy would be like liquid flowing through a crazy straw.
As an example, I've created a
Texture Coordinate. This links to a
Checker Texture node. Then plugs into a
To animate the texture, I animate an
Empty to move along it's Y axis. This
Empty is linked to the
Object selector in the
Texture Coordinate node and the
Checker Texture's Vector input is hooked up to the Object output from the
Texture Coordinate node.
This works pretty well on a stretched out cube:
But fails when I bend that geometry. Technically, it's doing exactly what we might expect given the order of the nodes, but my goal is to have the pattern flow down the geometry and through deformations.
The solution that comes to mind is to change the node order, but
Texture Coordinates doesn't have an input.
I get this when I remove the
Texture Coordinate node, but lose the ability to manipulate the texture position along the mesh:
If anyone can help me figure this out, I'd appreciate it.
Note: controlling the texture with an
Empty isn't a requirement. I just need something that can be key framed, such as a