Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Video Post-processing a VideoPlayer's render texture

Discussion in 'Audio & Video' started by menderbug, Jul 10, 2019.

  1. menderbug


    May 14, 2018
    I'm trying to apply a simple post-processing effect to the RenderTexture that my VideoPlayer renders to (specifically, I just want to alpha-blend a semi-transparent texture over it). But my Google-fu seems to be failing me on the best way to go about this.

    It seems that one solution would be to put the RenderTexture in front of an additional camera, do the post-processing with that camera (either in OnRenderImage or by simply putting my overlay between the render texture and the camera) and having that camera render to yet another render texture. But that seems like overkill for what should be a really simple task.

    Are there any simpler way s to alpha-blend a texture into the output of a VideoPlayer?