Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Different Ambient Probes For Different Parts of the Scene

Discussion in 'High Definition Render Pipeline' started by oguzhalil, May 20, 2024.

  1. oguzhalil

    oguzhalil

    Joined:
    Aug 10, 2016
    Posts:
    1
    Hello everyone,

    I have two HDRI textures: one for open environments (streets, etc.) and one for interiors. The first HDRI is inside a global volume, which acts as the main ambient probe, and the interior one is in a local volume. When the character steps into the local volume, the HDRI switches to the interior one.

    I was wondering if it is possible to set layers for each HDRI. For instance, could the sidewalks take indirect diffuse lighting from HDRI A, and the interior floor take indirect diffuse lighting from HDRI B, so everything would look seamless and as intended? Is that possible without writing custom shaders and diving into HDRP?
     
  2. Misaki_eKU

    Misaki_eKU

    Joined:
    May 3, 2018
    Posts:
    104
    You could use ssgi + reflection probe.