Search Unity

Resolved How can I fix horizon lighting in hdrp?

Discussion in 'High Definition Render Pipeline' started by fierarux777, Oct 10, 2022.

  1. fierarux777

    fierarux777

    Joined:
    Feb 11, 2019
    Posts:
    35
    Hello!
    I wanted to make a simple day/night cycle using HDRP PBS, but whenever I rotate the sun between -4 and - 176 degrees, the horzon of the sky gets a weird lightafter the sun disc isn't even visible anymore. How can I fix that?

    Here is an image:
    upload_2022-10-10_19-6-3.png
    upload_2022-10-10_19-6-32.png
     
  2. SebLazyWizard

    SebLazyWizard

    Joined:
    Jun 15, 2018
    Posts:
    234
    That's a known limitation of the current implementation.
    The only workaround to hide those artifacts is to slowly blend out the sunlight once it gets below the horizon.
     
  3. fierarux777

    fierarux777

    Joined:
    Feb 11, 2019
    Posts:
    35
    Thank you!