unity-game-engineskybox

How to add night sky using Unity 5 procedural skybox?


I'm using Unity 5 and it's new procedural skybox. It looks amazing!

In my game, I have a day/night cycle. I can't find a way to use a night skybox which will slowly appear (blend) to replace the procedural skybox when the night comes.

I know a shader exists to blend between two skyboxes, but it won't work with the new procedural skybox.

I want to be able to keep the procedural skybox, so I can keep my amaizing sunrise/sunset, but be able to add stars at night.

enter image description here

enter image description here


Solution

  • You could either use particles or use a sphere around the entire scene with stars textured all over it; use a transparent or particle shader on that material. :)