Search Unity

Resolved When I build and run my HDRP scene the sun is much brighter and overexposed than in the game view

Discussion in 'High Definition Render Pipeline' started by ChamberGames, Feb 16, 2023.

  1. ChamberGames

    ChamberGames

    Joined:
    Mar 30, 2022
    Posts:
    10
    In the scene and game view the sun looks normal, but when I decide to build and run it is way too bright. How do I fix this?
     
  2. mgeorgedeveloper

    mgeorgedeveloper

    Joined:
    Jul 10, 2012
    Posts:
    324
    Please drop a few screenshots of the scene view, game view and build view, and maybe some extra shots to show settings and things.

    It sounds a little weird because at the very least, one would expect the game view and the build game view to be identical.
     
  3. ChamberGames

    ChamberGames

    Joined:
    Mar 30, 2022
    Posts:
    10
    This is the image in the game view. Screenshot_20230217_083727.png
     
  4. ChamberGames

    ChamberGames

    Joined:
    Mar 30, 2022
    Posts:
    10
    This is the image in the built and run version. Screenshot_20230217_084237.png
     
  5. impheris

    impheris

    Joined:
    Dec 30, 2009
    Posts:
    1,662
  6. Onigiri

    Onigiri

    Joined:
    Aug 10, 2014
    Posts:
    482
    To me the difference comes from volumetric fog
     
  7. LumaPxxx

    LumaPxxx

    Joined:
    Oct 3, 2010
    Posts:
    339
    it looks like the fog caused the problem.
    try turning off the fog and bloom effect and try again until you find the key problem.
     
  8. ElevenGame

    ElevenGame

    Joined:
    Jun 13, 2016
    Posts:
    146
    yes, I am also pretty sure the extra brightness comes from volumetric fog. Check the different HDRP Assets assigned in Project Settings -> Quality. Most likely you have an HDRP Asset selected for preview in the Editor, that has Volumetric Fog disabled, but the HDRP Asset that's default for the Build has it enabled.. That's what I would guess.
     
    ChamberGames likes this.
  9. ChamberGames

    ChamberGames

    Joined:
    Mar 30, 2022
    Posts:
    10
    It's not the fog, but ill try the other 2 options.
     
  10. ChamberGames

    ChamberGames

    Joined:
    Mar 30, 2022
    Posts:
    10
    Ignore what I just said, the volumetric fog wasn't on in the game view but it was on when built and ran. I went in the hdrp setting and turned volumetric fog on. Then, I turned it off in the Sky and Fog Volume.
     
  11. ChamberGames

    ChamberGames

    Joined:
    Mar 30, 2022
    Posts:
    10
    Thank you for all your solutions to my problem.
     
    ElevenGame likes this.