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 are updating our Terms of Service for all Unity subscription plans, effective October 13, 2022, to create a more streamlined, user-friendly set of terms. Please review them here: unity.com/legal/terms-of-service.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice
  4. Join us on Thursday, September 29, for a day with Unity's SRP teams here on the forum or on Reddit, and discuss topics around URP, HDRP, and the Scriptable Render Pipeline in general.
    Dismiss Notice

Procedural sky of Unity : How to also illuminate the night ?

Discussion in 'General Graphics' started by Nova-Shade, May 2, 2018.

  1. Nova-Shade

    Nova-Shade

    Joined:
    Oct 15, 2015
    Posts:
    136
    Hi everybody,

    Here is the problem I'm facing : I'm building a day / night cycle using the procedural sky of Unity. Everything is fine exect when the directional light is on the horizon and the sun goes beyond it :The sky is then full black and doesn't react at all to the light anymore.

    I have tried to use two opposite directional ( sun + moon ) and it works barely because when the scene swap from one to the other, the change is brutal and really noticeable in the sky.

    So my question is : is it possible to only use 1 source of sky lighting , but also illuminate lightly the night when it goes beyond the horizon ?

    Thanks in advance for any enlightment on the subject.
     
unityunity