From 56b604bef7bb38f8df0d00a444ed81d0ceed38d0 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 12 Feb 2022 18:38:05 +0100 Subject: Add sky cover texture for ProceduralSkyMaterial This brings PhysicalSkyMaterial's Night Sky functionality to ProceduralSkyMaterial, but in a more powerful and general fashion. This can be used to display stars at night, or clouds at day and night. For clouds, it won't be physically accurate, but it can look good still. The Sky Cover Modulate property can be used to adjust the sky cover's colors and opacity in real-time, which is useful for day/night or weather transitions. --- doc/classes/ProceduralSkyMaterial.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/ProceduralSkyMaterial.xml b/doc/classes/ProceduralSkyMaterial.xml index dc6ead1b01..5ea791f6c4 100644 --- a/doc/classes/ProceduralSkyMaterial.xml +++ b/doc/classes/ProceduralSkyMaterial.xml @@ -23,6 +23,12 @@ Color of the ground at the horizon. Blends with [member ground_bottom_color]. + + The sky cover texture to use. This texture must use an equirectangular projection (similar to [PanoramaSkyMaterial]). The texture's colors will be [i]added[/i] to the existing sky color, and will be multiplied by [member sky_energy] and [member sky_cover_modulate]. This is mainly suited to displaying stars at night, but it can also be used to display clouds at day or night (with a non-physically-accurate look). + + + The tint to apply to the [member sky_cover] texture. This can be used to change the sky cover's colors or opacity independently of the sky energy, which is useful for day/night or weather transitions. Only effective if a texture is defined in [member sky_cover]. + How quickly the [member sky_horizon_color] fades into the [member sky_top_color]. -- cgit v1.2.3