An open-source shader for creating stylized skies. Compatible with Godot game engine version 4.
Day sky | Night sky |
Feature | Description |
---|---|
Sky Gradient | Define the sky color from 3 inputs. |
Starfield | Add twinkling starfield in the background, ideal for nocturnal scenes. |
Clouds | Displays scrolling animated volumetric clouds. |
Astro | Position an image based on the primary Directional Light 3D direction. |
Shooting stars | Add shooting stars falling from the top of the skybox. |
The sky shader can be optimized by applying the following changes.
- Static sky Enhance performance by making the sky static by removing the
TIME
variable. - Sample Reduction Adjust cloud sampling to fine-tune the balance between quality and performance.
Voronoi method by Inigo Quilez