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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Darkness Overblows the Image [SOLVED]

Discussion in 'High Definition Render Pipeline' started by Littlenorwegian, Aug 2, 2020.

  1. Littlenorwegian

    Littlenorwegian

    Joined:
    Oct 19, 2012
    Posts:
    143
    Hello,

    Still a bit new to HDRP and doing some interesting things.
    However, I am having a problem. I essentially want to remove all lights from a scene (Have it be dark) and re-introduce lights, but there's a strange thing that occurs which is, if I add anything dark to a scene.

    Even an unlit black box it overblows the image as seen here.
    https://www.dropbox.com/s/w88q3jra7fu4fg6/HDRP.mp4?raw=1
    (I add a black box. And then I make the camera background black)

    I've been testing with render setting and the like, but cannot really understand why this occurs and how to just have a dark, unlit scene. (Essentially, the sky is giving me too much light, is the problem)
    https://www.dropbox.com/s/hqbgqth02vhilia/Sky.mp4?raw=1
    (Here you can see I turn off the sky, get the result I want before it overblows the image again)

    This happens as well with standard HDRP material.
     
  2. foonix

    foonix

    Joined:
    Dec 15, 2019
    Posts:
    20
    Are you using auto exposure? I've had trouble wrangling auto exposure to produce reasonable results in dark scenes. Even a tiny amount of light causes the exposure to go way negative (makes everything brighter) until the bloom explodes across the screen. Try a fixed exposure volume override.

    Edit: Note also that the default exposure settings are .. questionable. Default exposure ranges from -10 to 10 and default fixed exposure is 0. See the wikipedia page on exposure if you want to use light ranges that are physically plausible. 12 is probably a good starting point.

    https://en.wikipedia.org/wiki/Exposure_value#Tabulated_exposure_values
     
    Last edited: Aug 2, 2020
    Littlenorwegian likes this.
  3. Littlenorwegian

    Littlenorwegian

    Joined:
    Oct 19, 2012
    Posts:
    143
    Thank you, @foonix ! It was the exposure compensating, it seems.

    VERY powerful the HDRP, but it has many knobs and buttons.