Search Unity

Camera background type "color" doesn't work in HDRP

Discussion in 'High Definition Render Pipeline' started by wx3labs, Sep 19, 2020.

  1. wx3labs

    wx3labs

    Joined:
    Apr 5, 2014
    Posts:
    77
    I've tried this in two new test projects using HDRP. If I have a lit object (default sphere) and switch the camera's background type to "Color" the object gets brighter and brighter over time until the scene is entirely white.

    Disabling the sky and fog volume has no effect.

    Why?

    Edit: This is on Unity 2019.3.9f1
    Edit 2: Also Unity 2019.4.10f1
     
    Last edited: Sep 19, 2020
  2. valarnur

    valarnur

    Joined:
    Apr 7, 2019
    Posts:
    440
    Set fixed exposure in sky and volume.
     
    wx3labs likes this.
  3. wx3labs

    wx3labs

    Joined:
    Apr 5, 2014
    Posts:
    77
    Thanks a lot! That fixed it. Two questions if you don't mind:

    1. Why did it fix it? (as in, what was happening before that fixed exposure prevented)
    2. How could I have figured this out on my own? (is there some documentation that I missed that would have covered that)

    Thanks again.
     
  4. SebLagarde

    SebLagarde

    Unity Technologies

    Joined:
    Dec 30, 2015
    Posts:
    934
    Hi, this is how exposure work. Learning material are your best friends here to figure it out on your own:
    I highly recommend this one:
     
    GCreeper00 and wx3labs like this.
  5. wx3labs

    wx3labs

    Joined:
    Apr 5, 2014
    Posts:
    77
    That video was very helpful, thanks.