Random Sequence Flipbook Textures? Aka "Loopable" Flipbooks

I’ve been struggling with getting good results using flipbook textures in UE4. Playdead seems to have nailed it using Unity. Is it possible to reproduce in UE4?

Here is Playdeads GDC talk explaining how they did it:

Thanks! :slight_smile:

It helps if you show us/me what your setup is atm, so we can tell you what might need tweaks/adjustments, or what to do/how to approach it differently :slight_smile:

Well, I’m using the Flipbook-node with time put into a Frac and multiplied with 1. Thats it, pretty simple stuff. I’m guessing all the legwork should be done inside the Flipbook node, but I have no idea where to start.

1: Is it possible to control the sequence which UE plays the Flipbook?
Like: row 2, column 4, row 7, column 3…

2:Is it possible to fade in and out of these rows and columns, instead of a hard cut to reduce popping?

1: You should be able to select a random subframe, but you need some sort seed for the random. You can use particle parameters to pass something, that can be used for pseudo-random.
2: Yep, you would need to modify the node to take two samples instead of one, and lerp between them depending on the time passed.

Great thanks! I’ll try to figure something out :slight_smile:

okay so I got the fading to work with a gradient panning on top, multiplied. I’m really struggling to come up with some sort of random seed value and where to implement it in the Rows UV. Any suggestions?

well I didn’t make it fade between numbers, just in between.