- Home /
How do I get the skybox to switch from night to day?
I have already added the lighting and script for the light to actually go from night to day, but I need to match the sky box with the lighting. My cycle lasts for one hour and it already shows the sun goig from one side to another, anyone know how to match it with the skybox?
You can access the skybox with
RenderSettings.skybox
Note that any changes made to it during runtime will be kept after exiting the play mode. If you don't just want to switch the skybox materials or lerp the tint color, but actually blend between different skybox materials, you should search for skybox blending.
Your answer
![](https://koobas.hobune.stream/wayback/20220613183324im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to have two suns? 3 Answers
Transparent shader in background queue 2 Answers
Sun on a skydome 0 Answers
Sun Does Not Appear in Skybox 0 Answers
Chronosphere Sun Control Ambient Light? 0 Answers