Directly working with the VideoPlayer texture works for this example, but usually, setting up a separate RenderTexture is more reliable and flexible. This recipe will build on the previous one to demonstrate this approach. A flexible way to work with video players is to output their playback to a RenderTexture asset file. A material can be created to get input from RenderTexture and. Using that material, GameObjects will display the video. Also, some GameObjects can directly have RenderTexture assigned to their texture.





















































