I have a question and I hope you can help me.
So, I have a mp4 footage of fire about 30 frames.
I am trying to dress plane cards with that video on them, for now they have the same Material.
The issue is that the video is playing the same on all the plane and I would like to offset the video to break the uniform look.
How can I make an offset of that video and apply that randomly to different plane?
Is it a blueprint thing or is it possible to do it in the shader?
Maybe there is an other solution, but I will prefer to stick with video instead of using flipbook as I have a lot of frames.
Thanks in advance for the help guys.
Sorry a bit new with material and blueprint. So far I have the basic Material made my the media player texture and a simple blueprint to launch the media player. I understand the logic of a parameter that can be randomly setup inside the blueprint and applied to the material.
But, how I can offset the frames of the video inside the material and applied that random value to different mesh? So far I have all my cards going same time.
Ah, I see… You probably want to rethink that. Using media files for effects like that is hardly the right approach, for many reasons really. You might want to render that video into a spritesheet and use flipbook in your material instead (with the rest of the setup I’ve mentioned above).
What you’re doing right now can’t be offset because all of those are using the same media source which is streamed into the engine (as far as I know) so changing something on one will inevitably affect the others too…
Thanks for that Dovlahkin,
If it is not possible to offset a video I will need to do few different video and plug several media player to different plane.
Now I did indeed use the flipbook as for me it was one of the best solution to be able to do what I want.
But I am stuck with the way to randomly start the flipbook.
I’ve found how to change the speed but not really a way to start the flipbook from a different frame.
Do you think it is possible?
I understand, I guess, the scalar parameter that will be applied randomly to different material, but not how to build it inside my material to be able to have that node affecting an offset.
So far I have my flipbook texture and that material.
Thanks again for your help
I am in the exact same boat as you. Was this ever resolved? I too don’t wish to use spritesheet but rather through the media player route as I have a lot of frames. Since I am not making a game but a photoreal cinematic, I don’t care about resource hogging.
Did you find a way to offset video textures?