Search Unity

Question VideoPlayer and RenderTexture

Discussion in 'General Graphics' started by LexaMV, Sep 15, 2022.

  1. LexaMV

    LexaMV

    Joined:
    Feb 20, 2018
    Posts:
    28
    Hi all. We use several VideoPlayers and one RenderTexture in the project. Since we have a delay when loading the next video file, we clean up the textures and include the next video file. At the moment when the video file is being loaded, we have a dimming screen. We would like to turn it off as soon as the image of the video file has gone to the texture.

    And how can you check that the texture is not empty and there is already an image on it?