SgtSky
SourceMaterial
The material used to render this component.
This material must use the Space Graphics Toolkit/Sky shader. You cannot use a normal shader.
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.
If this is incorrectly set then the atmosphere will render incorrectly.
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.
ColorWeight
This allows you to set the weight of the atmosphere colors.
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.
LightingEnd
The end point of the sunset/night transition.
Displays as End
in the inspector. Only visible when Lighting
is enabled.
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.
ScatteringEnd
The end point of the sunset/night transition.
Displays as End
in the inspector. Only visible when Scattering
is enabled.
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.
ScatteringPower
The strength of each atmospheric scattering halo layer.
Displays as Power
in the inspector. Only visible when Scattering
is enabled.
Last updated