play mp4 video with offset
Hi guys, 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.
asked Oct 02 '18 at 07:20 AM in Rendering
You should create a material that has a scalar parameter called offset and then for each of the cards you create material instance for them and set that offset to a random value.
To create a material parameter just right click a scalar node and select convert to paramater, and name it Offset. And your blueprint should be as simple as this (do this on begin play or whenever you feel like it). Static mesh is your card
answered Oct 02 '18 at 09:31 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here