Skip to content

SkyConfig ​

Inherits: DatabaseResource < Resource

Configuration for the sky shader appearance

Description ​

Controls all visual aspects of the sky including colors, clouds, stars, and atmospheric effects. Works in conjunction with the stylized sky shader.

Properties ​

SkyDriverdriver
Environment.BGModebackground_modeEnvironment.BG_SKY
Colorbackground_colorColor(0, 0, 0, 1)
floatbackground_energy_multiplier1.0
floattransition_duration3.0
Colorday_top_colorColor("6699ffff")
Colorday_bottom_colorColor("99ccffff")
Colorday_sun_scatterColor("ffe6b3ff")
Colornight_top_colorColor("05050dff")
Colornight_bottom_colorColor("0d121aff")
Colornight_sun_scatterColor("000000ff")
Colordusk_top_colorColor("804d33ff")
Colordusk_bottom_colorColor("cc9966ff")
Colordusk_sun_scatterColor("ffb366ff")
Colorday_cloud_colorColor("ffffffff")
Colornight_cloud_colorColor("333366ff")
Colordusk_cloud_colorColor("ffb380ff")
floatday_cloud_density0.5
floatnight_cloud_density0.3
floatdusk_cloud_density0.4
intclouds_samples16
intshadow_sample4
floatclouds_scale1.0
floatclouds_smoothness0.035
floatclouds_shadow_intensity1.0
floathigh_clouds_density0.0
Colorastro_tintColor(1.0, 1.0, 1.0, 1.0)
floatastro_scale1.0
floatastro_intensity1.0
floatday_star_intensity0.0
floatnight_star_intensity3.0
floattwilight_star_intensity1.0
floatday_shooting_star_intensity0.0
floatnight_shooting_star_intensity0.0
Colornight_shooting_star_tintColor(0.8, 0.9, 1.0, 1.0)

Property descriptions ​

Sky Driver

SkyDriver driver ​

What shows this sky: empty = the stylized sky of the toolkit (day, dusk and night colours, clouds, stars, sun and moon discs). Another driver shows a panorama picture for the day and one for the night, Godot's procedural sky, or your own sky shader (a script that extends SkyDriver). The colours of the day, dusk and night below are used by every driver. The hours the sky changes are the sun's: see the Sun config

Background

Environment.BGMode background_mode = Environment.BG_SKY ​

Background rendering mode

Color background_color = Color(0, 0, 0, 1) ​

Background color (when using BG_COLOR mode)

float background_energy_multiplier = 1.0 ​

Background brightness multiplier

Time of Day

float transition_duration = 3.0 ​

Duration of smooth transitions between time periods (seconds)

Sky Colors - Day

Color day_top_color = Color("6699ffff") ​

Day sky top color

Color day_bottom_color = Color("99ccffff") ​

Day sky horizon color

Color day_sun_scatter = Color("ffe6b3ff") ​

Day sun scatter color

Sky Colors - Night

Color night_top_color = Color("05050dff") ​

Night sky top color

Color night_bottom_color = Color("0d121aff") ​

Night sky horizon color

Color night_sun_scatter = Color("000000ff") ​

Night sun scatter color (usually dark)

Sky Colors - Dusk

Color dusk_top_color = Color("804d33ff") ​

Dawn/dusk sky top color

Color dusk_bottom_color = Color("cc9966ff") ​

Dawn/dusk horizon color

Color dusk_sun_scatter = Color("ffb366ff") ​

Dawn/dusk sun scatter color

Cloud Settings

Color day_cloud_color = Color("ffffffff") ​

Day cloud color

Color night_cloud_color = Color("333366ff") ​

Night cloud color

Color dusk_cloud_color = Color("ffb380ff") ​

Dawn/dusk cloud color

float day_cloud_density = 0.5 ​

Day cloud density

float night_cloud_density = 0.3 ​

Night cloud density

float dusk_cloud_density = 0.4 ​

Dawn/dusk cloud density

int clouds_samples = 16 ​

Cloud samples for ray marching (8-32, impacts performance)

int shadow_sample = 4 ​

Shadow samples per cloud sample (1-4, impacts performance)

float clouds_scale = 1.0 ​

Cloud scale multiplier

float clouds_smoothness = 0.035 ​

Cloud edge smoothness

float clouds_shadow_intensity = 1.0 ​

Cloud shadow intensity

High Clouds

float high_clouds_density = 0.0 ​

High cloud density (0 = disabled)

Astro

Color astro_tint = Color(1.0, 1.0, 1.0, 1.0) ​

Tint color for sun/moon texture

float astro_scale = 1.0 ​

Scale of sun/moon disk

float astro_intensity = 1.0 ​

Brightness multiplier for sun/moon

Star Settings

float day_star_intensity = 0.0 ​

Star intensity during day (usually 0)

float night_star_intensity = 3.0 ​

Star intensity during night

float twilight_star_intensity = 1.0 ​

Star intensity during twilight (dawn/dusk)

Shooting Star Settings

float day_shooting_star_intensity = 0.0 ​

Shooting star intensity during day (usually 0)

float night_shooting_star_intensity = 0.0 ​

Shooting star intensity during night

Color night_shooting_star_tint = Color(0.8, 0.9, 1.0, 1.0) ​

Color tint for shooting stars