Can you 'pingPong' Image Texture's 'Image Sequence' frames?

Hello!

I have an Image Texture on a Material in Cycles.

The Image Texture is set to ‘Image Sequence’ with a frame range of 100. The animation of the texture frames is random ( many trees swaying in the wind randomly at different times from each other) so would be hard to create a loop.

So, instead of a loop, it would be great if, when it gets to frame 0100, it will next play 0099 then 0098 etc backwards to 0001 and when it gets back to 0001, it then counts back up through 0002, 0003 to 0100, then back down again ad infinitum - the ‘Ping Pong’ effect.

Is there a script to make this possible please?

You just have to set frame range to 1 and animate Offset value of Image Texture node.

1 Like

Brilliant! Thankyou!