Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

I cannot turn the lights out...

Discussion in 'High Definition Render Pipeline' started by DanVioletSagmiller, Aug 3, 2020.

  1. DanVioletSagmiller

    DanVioletSagmiller

    Joined:
    Aug 26, 2010
    Posts:
    203
    I want all ambient light gone. I recently upgraded my 2018.4 project to 2019.4 and then imported HDRP, and began going through steps to configure the materials/shader replacements. (working) However, now that I'm on the new graphics system, I want ALL lights off, and then just add specific lights as I go. removed all lights from a test scene. I found points that referenced ambient light, I believe for the sky, and could only select gradient, so I set all the colors to black. I found a couple other odd areas for that seemed potentially related, but nothing has removed the ambient light from the scene.

    Can someone tell me where to go/what to configure to remove ambient light? - Thanks.
     
  2. SebLagarde

    SebLagarde

    Unity Technologies

    Joined:
    Dec 30, 2015
    Posts:
    934
    Hi,

    ambient light is control by the Sky. You can configure the sky to use with Visual environment component of the HDRP volume settings system.
    https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@9.0/manual/Volumes.html

    Follow the step in the documentation here: https://docs.unity3d.com/Packages/c...finition@9.0/manual/Environment-Lighting.html

    And you can then assign your volume profile to static sky, so if you select none and bake, you will get black sky contribution for lightprobe / lightmap.