Free sky shader with dynamic sun and customizability (CC0)

light_follow

A few weeks ago I made this sky shader: https://binbun3d.itch.io/godot-skies

Features

  • Sun follows scene’s directional light (optionally can use a slider instead)

  • Seamless blending between day, sunset and night.

  • Customizable clouds with noise textures. Stylization is up to you!

  • Parallax effect on clouds to give 3D effect.

  • Customizable stars.

Here’s an example of stylized sky:

stylized

And another different kinda sky:

warm

11 Likes

Love this sky.
Do you want to see my enhanced version (mostly by an LLM)?
I needed a 2nd light source for the moon and adjustment for the horizon and how fast the sunset will fade.
Only if you are interested, would call my version a little bit sloppy.

sure if you can post a screenshot for example?

2 Likes

Nice! I’ll take some time soon to update my shader with a moon

1 Like

I have two directional lights that fade in and out below the horizon, a sun and a moon. Just as an proposal.

1 Like

EDIT:
Would love phases of the moon.

EDIT2:
Ooops

1 Like

Thanks for the idea!

Some of the logic is outside of the shader. I can define here how long the day and how long the night will be. Not fixed 50:50. But that would require a complex asset, not just a shader.

Here’s a stylized sky