SgtSky

SourceMaterial

The material used to render this component.

UpperColor

This allows you to set the color of the atmosphere at high altitudes.

LowerColor

This allows you to set the color of the atmosphere at low altitudes.

Brightness

The Color.rgb values will be multiplied by this.

InnerMeshRadius

The radius of the meshes set in the SgtSharedMaterial.

OuterMesh

This allows you to set the mesh used to render the atmosphere. This should be a sphere.

OuterMeshRadius

This allows you to set the radius of the OuterMesh.

Clouds

If your planet has clouds, set it here so they can be rendered with the sky.

Height

This allows you to set how high the atmosphere extends above the surface of the planet in local space.

Density

This allows you to adjust the fog level of the atmosphere.

Weight

This allows you to set the weight of the atmosphere.

Higher values concentrate the particles toward the surface of the planet; lower values give a more even distribution.

ColorWeight

This allows you to set the weight of the atmosphere colors.

Higher values push the Upper Color lower in the atmosphere.

Detail – This allows you to adjust how many samples are used to ray march the atmosphere/clouds.

SurfaceScattering

This allows you to adjust how atmospheric scattering applies on top of the planet surface.

CameraOffset

This allows you to offset the camera distance in world space when rendering the atmosphere, giving fine control over the render order.

DepthOpaque

This allows you to control how fast the opacity of the sky increases as the camera descends.

Lighting

Enables or disables lighting on the atmosphere.

LightingStart

The start point of the day/sunset transition.

Displays as Start in the inspector. Only visible when Lighting is enabled.

0 = dark side, 1 = light side

LightingEnd

The end point of the sunset/night transition.

Displays as End in the inspector. Only visible when Lighting is enabled.

0 = dark side, 1 = light side

LightingSharpnessR

The sharpness of the sunset red channel transition.

Displays as Sharpness R in the inspector. Only visible when Lighting is enabled.

LightingSharpnessG

The sharpness of the sunset green channel transition.

Displays as Sharpness G in the inspector. Only visible when Lighting is enabled.

LightingSharpnessB

The sharpness of the sunset blue channel transition.

Displays as Sharpness B in the inspector. Only visible when Lighting is enabled.

Scattering

Always enabled.

ScatteringStart

The start point of the day/sunset transition.

Displays as Start in the inspector. Only visible when Scattering is enabled.

0 = dark side, 1 = light side

ScatteringEnd

The end point of the sunset/night transition.

Displays as End in the inspector. Only visible when Scattering is enabled.

0 = dark side, 1 = light side

ScatteringSharpnessR

The sharpness of the sunset red channel transition.

Displays as Sharpness R in the inspector. Only visible when Scattering is enabled.

ScatteringSharpnessG

The sharpness of the sunset green channel transition.

Displays as Sharpness G in the inspector. Only visible when Scattering is enabled.

ScatteringSharpnessB

The sharpness of the sunset blue channel transition.

Displays as Sharpness B in the inspector. Only visible when Scattering is enabled.

ScatteringTerms

The size of each atmospheric scattering halo.

Displays as Terms in the inspector. Only visible when Scattering is enabled.

Higher values make the halo smaller. Use negative values for back scattering.

ScatteringPower

The strength of each atmospheric scattering halo layer.

Displays as Power in the inspector. Only visible when Scattering is enabled.

Last updated