And another quality question
As we are rendering everything as fast as possible in our application, and I already figured out how to speed up the animations (look in my other questions), I now switched to movies playing on a plane (or rather on the material).
And while the movie does play, it does so in original speed. Which is what I do not want. I want each frame of the movie played in exactly one frame in the application. Kind of fast forward as fast as the application framerate lets me.
I could probably simulate that via script, but a Movie texture only has Play(), Stop(), etc. and does not seem to have any JumpToFrameX() function.
Any idea how I could do that, speeding up a movie clip on a plane?
Or, as a possible alternative, go to time/frame X of a movie?
In our current engine, we do that by decoding a movie via ffmpeg into single pictures and then pass those to a shader. Needless to say, this works, but is pretty complicated and heavy on the performance. I COULD implement this for Unity, too I guess, but a better way without any plugins would be… well… better.