πThe Sky Dome
The backdrop of the sky
Overview
The Sky Dome functions as the backdrop upon which the rest of the COZY FX are drawn. It perfectly blends simplicity and functionality into a canvas that is a perfect base for stylized weather.
Desktop vs Mobile
There are two different sky styles that come with COZY: Desktop and Mobile. The Mobile sky only has the Gradient Shading and the Sun Disk and Halo features whereas the Desktop style has all of the features below.
How to Change the Sky Style
In the Options tab of the Settings module, change the value of the Sky Style enum to change the current cloud type.
Then select your sky type from the enum:
Features
Gradient Shading
The most important feature of the simple sky is a gradient shader that interpolates from the zenith color (or the top of the sky) to the horizon color. These two colors are set and then interpolated using an exponential function with a coefficient. You can set this coefficient using the gradient exponent parameter.
Sun Disk and Halo
The Sun Disk refers to the the visual disk that represents the sun. Using the Atmosphere Module we can easily edit the size, color, direction, pitch, and falloff of the sun. We also have access to a Sun Halo that draws a smooth halo around the sun in the sky. This is not the same thing as the Flare in the Fog Dome.
Rainbow
COZY ships with a simple rainbow system as a part of the Desktop sky. The rainbow position and width can be edited in the atmosphere profile however the brightness of the rainbow is linked to the wetness parameter of the Climate Module.
Stars
COZY has a simple star system that is used by the Desktop Sky style. By default, COZY uses an 8K star texture to place the stars with a simple variation noise in the shader for twinkling. Use the star color parameter to determine the brightness and color of the stars.
Galaxy
The galaxy effect is a three channel texture that covers the night sky. Control the placement of the galaxy with the Galaxy Map property and the variation with the Galaxy Variation Map.
Light Scattering
Commonly mistaken as Aurora Borealis (see the Ambience Module for the actual Aurora), the light scattering FX are actually just part of the sky! They occur around the horizon and can be replaced with a different texture or disabled by setting their color to transparent.
Additional Features
Stars Using the Mobile Sky Style
You may have noticed that the Mobile Sky does not have stars built into it however there is another way to do this making use of particles. Check out the Particle Stars child under the weather sphere (disabled by default) for an example for how to use this
Last updated