Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Probe Volume - how to switch to a different lighting scenario?

Discussion in 'High Definition Render Pipeline' started by BRGames_, Jun 28, 2023.

  1. BRGames_

    BRGames_

    Joined:
    Jun 24, 2021
    Posts:
    18
    I'm on Unity 2022.3.0. On the "Probe Volume Settings" I can create different "Lighting Scenario". I can see that activating one scenario or another from the editor the lighting information are correctly and instantaneously updating. How can't I change the active scenario from code? I can find the info in the documentation.

    So, to keep it short, how can I switch between Lighting Scenarios at runtime?

    Lighting.PNG
     
    Last edited: Jun 29, 2023
  2. HIBIKI_entertainment

    HIBIKI_entertainment

    Joined:
    Dec 4, 2018
    Posts:
    543

    I expect the full workflow still isn't 100% there yet but in 2023 at least the prove volume is a separate tab in the lighting panel where there is a scenario switcher, you may find some documentation based there.

    Their GDC video covers it a little too