Auto-animation of UVs?

Given a custom shader, it’s easy enough I believe to animate a model’s UVs–just offset them via “osg_FrameTime”. Similarly, in code one can apply a texture-offset.

However, is there any way to do this when only the auto-shader is in use? Some tag or scalar or setting that might be applied in an egg-file?

(I doubt it, but it seems worth asking, rather than presuming.)

Yes, you can animate the UVs using a UVScrollNode. In an egg file, this is done with the scroll-u, scroll-v, scroll-w and scroll-r scalars under the <Group>, the first three controlling translation and the latter controlling rotation.

Oh, excellent! I’m glad that we have that, and glad that I asked! Thank you for the answer! :slight_smile: