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

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:
    224
    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!