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 Change HDRP static light parameters through script?

Discussion in 'High Definition Render Pipeline' started by FOXAcemond, Jan 14, 2022.

  1. FOXAcemond

    FOXAcemond

    Joined:
    Jan 23, 2015
    Posts:
    99
    Hello, I need to change the HDRP environment static light settings through an Editor script.

    These are the settings that you can find here:
    upload_2022-1-14_21-56-58.png

    Any idea how to do that?

    I poked around Lightmapping attributes but nothing points to these settings...
     
  2. FOXAcemond

    FOXAcemond

    Joined:
    Jan 23, 2015
    Posts:
    99
    Now if you're wondering what for, it's because I have several "profiles" that I want to switch to automatically between two bakes that are queued up.