Skip to content
Projects

gdquest-demos/godot-4-stylized-sky

View on GitHub

About

An open-source shader for creating stylized skies. Compatible with Godot game engine version 4.

Games & Emulation

How these counts are measured

What you can do

  • 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.

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original


Stylized Sky

An open-source shader for creating stylized skies. Compatible with Godot game engine version 4.

Preview

sky day sky night
Day sky Night sky

Features

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.

Optimization

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.

Credits

Voronoi method by Inigo Quilez

Volumetric Rendering by Alan Zucconi

Direction to rotation matrix by Martijn Pieters

Explore related projects

Loading…