Question by
GunPoint · Apr 09, 2018 at 01:34 PM ·
directional light
[Day/night cycle] Directional Light gets too dark at night after last update
So i made a day/night cycle in the past and it worked fine, but after the last 3 or 4 updates, the game turns completely dark at night. I tried to test another script, a simple one:
public class DayNightScript : MonoBehaviour {
private void Update()
{
transform.Rotate (Vector3.right, 1.0f);
}
}
This should rotate the sun, but when it points straight up, the scene becomes completely dark
HELP
Comment