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

HDRP - HDRI and Procedural Sky baked ambient light

Discussion in 'Graphics Experimental Previews' started by DJ_JW, Dec 2, 2019.

  1. DJ_JW

    DJ_JW

    Joined:
    Apr 26, 2015
    Posts:
    24
    I have noticed that in HDRP pipeline (only one I have tried) that when I have either a Physically Based Sky or a HDRI sky and create a fully enclosed / sealed (hollow) black box, the objects inside the box whether static or not have a sort of "Ambient" lighting applied to them after baking. I have used 6 scaled cubes to create the sides of the sealed box.

    I have tried both baked indirect and shadow mask baking and both produce the same result and it is almost like the baking is allowing "some" ambient light from the sky to pass into the box interior.

    I have completely disabled the sky (each HDRI and Physically Based) as tests and just left the directional light and when baking again the interior goes pitch black as expected so I am sure it has to do with the way baking happens with a sky.

    Is this intended or is there something I might be missing with the baked lighting with HDRP.

    Essentially for what I am producing I would like to have the exterior nicely lit with the sky and the inside of the box not affected by the sky.

    Thanks in advance for any advice.
     
  2. joinchen

    joinchen

    Joined:
    Apr 29, 2019
    Posts:
    15
    yes i have the same problem when i ues sky to light ,all model will be lighting
     
  3. Gotbaka2

    Gotbaka2

    Joined:
    Oct 23, 2015
    Posts:
    1
    Still feeling your pain in 2023.