Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    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

Help Wanted Any way to check if Reflection Probes are done rendering?

Discussion in 'General Graphics' started by Marc-Saubion, Jan 14, 2021.

  1. Marc-Saubion

    Marc-Saubion

    Joined:
    Jul 6, 2011
    Posts:
    456
    Hi everyone.

    I'm working on a game that will have multiple skyboxes choices for a same level. For that reason, reflection probes are rendered in game once the level is loaded.

    This works fine but I'd like to hide the process behind a loading screen and need to know when the RProbes are done rendering.

    I found this but as far as I've tested, it requires both the Rprobe and it's RenderID which means my script will have to store multiple lists.

    I was hoping there is a more direct API that would look like "RenderReflectionProbe.Active". I've already tried "RenderTexture.active" but it isn't reliable for some reason.

    Has anybody found a good solution for this scenario?

    Thanks in advance. :)
     
unityunity