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.

Changing exposure of lightmaps at runtime in URP?

Discussion in 'Global Illumination' started by Jess_AA, Jul 15, 2021.

  1. Jess_AA

    Jess_AA

    Joined:
    May 8, 2019
    Posts:
    35
    I want to build a sort of dynamic day/night cycle in my project. I have baked lighting I'm happy with, but want to adjust the exposure in run time to increase/decrease the intensity contribution of the baked lighting. Is this possible?
     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,046
    Unfortunately, there is no convenient way to do this at the moment in URP, nor in Built-in RP. However, if you are using shaders created in Shader Graph, you could try and make use of the Baked GI Node. This method should work both in URP and HDRP.

    HDRP allows to tweak baked lightmap intensity via the Indirect Lighting Controller. Feel free to suggest this idea in the URP product board website. It will be looked at and considered by the development team.
     
    Sab_Rango likes this.
  3. Jess_AA

    Jess_AA

    Joined:
    May 8, 2019
    Posts:
    35
    Thanks for the reply! I'll look into the Baked GI node.