How do I do subUV animation in material blueprints?

In Niagara there is a subuv animation function, you give it a spritesheet, specify how it is tiled, and it handles the rest more or less.

How can I animate the spritesheet from within the material blueprint though? So that any mesh I apply the material to will be animated this way?

1 Like

image

That’s it, thanks!

Do you know if there’s a way to specify an end frame? (e.g. the spritesheet has blank frames at the end cuz the animation had an odd number of frames)

Edit: Here’s the answer Flipbook: How do you Ignore Blank Space on a Sprite Sheet? - #4 by medwil

Here’s a slightly more organized (more readable imo) variation of the code to do it.

Edit: Made this Atlas Textures and SubUV/Flipbook animation in material blueprints.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.