Any way to specify animated UVs?

I have some meshes that I’d to add UV animations to. It would be really useful for doing things like animating flowing water or lights that flash in complex patterns (or even short frame based animations). Does glTF support this?

Not easily at the moment. The glTF format allows any vertex attribute (including UVs) to be manipulated by morph targets. But in practice most tools only support morph targets on positions, normals, and maybe vertex tangents or colors.

There is a proposal for more direct ways of animating properties including UV offsets —

A few tools (Babylon.js, Gestaltor, maybe others?) have started experimental implementations of that specification.

1 Like