Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Realtime Scripted Low Resolution Reflection Probes?

Discussion in 'Graphics Experimental Previews' started by alexandre-fiset, Feb 14, 2019.

  1. alexandre-fiset

    alexandre-fiset

    Joined:
    Mar 19, 2012
    Posts:
    715
    I noticed that the latest versions of the HDRP removed the possibility of controlling both the resolution and the baking of the probes by script. There's only the global resolution for reflections and two options for realtime ones; "On Enable" and "Every Frame".

    Is this intended? Where is the "Individual Faces" for baking? And what if we do not want to bake probes on Enable, but at the moment we want instead? They are still exposed in debug mode and in code, but what I want to know is Unity's plan with this change.

    In a dynamic day & night scenario, there's a need to sometimes bake reflection probes on demand so that the reflections at the edge of our screen space reflection remains somewhat accurate.

    Right now it looks like it is not going to be supported. Our workaround is to pre-bake specific moments of the day into cubemaps, and blend them according to the time of day. That is a bit a step back from older versions of Unity.
     
  2. SebLagarde

    SebLagarde

    Unity Technologies

    Joined:
    Dec 30, 2015
    Posts:
    934
    Hi,

    the "On demand" is back in 2019.1. There is no individual faces baking control for now.
     
  3. Prodigga

    Prodigga

    Joined:
    Apr 13, 2011
    Posts:
    1,123
    Is there any reason why these features were remove? And what the plan is going forward? Sucks to be left in the dark.
     
    fct509 likes this.
  4. alexandre-fiset

    alexandre-fiset

    Joined:
    Mar 19, 2012
    Posts:
    715
    Do you by any chance know if there are plans to support baking probes in C# Jobs? It really is the kind of thing any game with dynamic day & night cycle will demand. Anything that can timeslice the process would be greatly appreciated.

    Edit: Or to have gradients probes that can be controlled by script? Alongside SSR that could work.
     
    Last edited: Feb 19, 2019
    hippocoder likes this.