- Home /
[Day/Night Cycle] Objects get too dark at night [SOLVED]
[I FOUND THE SOLUTION: TURN OFF REALTIME GLOBAL ILUMINATION IN WINDOW/LIGHTNING/SETTINGS]
So i made a very simple day/ night cycle. Here's the script
private void Update() { transform.Rotate (Vector3.right, 0.1f); }
It is attached to the directional light
https://imgur.com/a/3xS3oT9 (sorry i had to censor some things)
As you can see in the photo, the terrain becomes too dark. That happens when the sun points straight up. Also, other objects become dark too. How i can fix this? I have to change some settings? BTW im using Unity 2017.4.0f1
Answer by aballif · Jun 30, 2018 at 01:15 AM
You could try going to window/lighting and adjust the ambient light. This will provide some light at all times.
Thanks! I turned off realtime global ilu$$anonymous$$ation and now it looks better.
Answer by madks13 · Jun 29, 2018 at 02:54 PM
It's normal. There is NO LIGHT going towards the objects. In real life, you usually have city lights, star lights, solar light reflecting from the moon... That is why it seem surreal to be so dark, but it's normal. So try to either reduce the amount of light, or add some "night" lights into the scene when the sun's down.
No this is not normal. All textures turn gray/black and that didnt happen in the last Unity version