CwBackgroundPlanet

This component allows you to render a planet in the background of your scene.

SHADER SETTINGS

_CW_Brightness = The final planet color will be multiplied by this.

_CW_Opacity = The final planet opacity will be multiplied by this.

_CW_SurfaceRadius = The radius of the planet relative to the radius of the planet mesh it's being rendered on. This is normally close to 1, but a lower value allows you to have a thicker atmosphere.

_CW_SurfaceWarp = This controls how much the planet texture is distorted toward the edges of the planet. A higher value can be used to give the illusion of a larger planet, or a more distant camera.

_CW_SurfaceTiling = The amount of times the planet texture is repeated across the planet mesh.

_CW_SurfaceScroll = The surface texture is scroll at this rate to give the illusion of rotation.

_CW_SurfaceEdge = The edge of the planet will fade out at this rate, to make the edge softer.

_CW_AlbedoShift = The planet texture color hue will be rotated by this amount.

_CW_AlbedoTint = The planet texture color will be tinted/multiplied by this color

_CW_LightingAngle = The light will hit the planet from this angle in radians.

_CW_LightingOffset = The light/dark side will be offset across the planet by this distance.

_CW_LightingSharpness = The light/dark side transition distance sharpness.

_CW_LightingColor = The planet surface color will transition toward this, before it goes to the dark side.

_CW_LightingPower = The above color will transition with this sharpness.

_CW_CloudsEdge = The clouds will disappear at this point toward the edge of the planet.

_CW_CloudsTiling = The cloud texture will be tiled this many times.

_CW_CloudsScroll = The cloud texture will scroll at this rate to give the illusion of rotation.

_CW_CloudsThreshold = This allows you to reduce the amount of visible clouds.

_CW_CloudsColor = The clouds will be given this color.

_CW_CloudsShadowColor = The cloud shadows will have this color.

_CW_CloudsShadowOffset = The cloud shadow position will be offset by this distance.

_CW_CloudsShadowBlur = The cloud shadow blur amount.

_CW_AtmosphereEdgeShift = The atmosphere transition will be shifted in/out by this distance.

_CW_AtmosphereFog = The atmosphere will be at least this thick at the center of the planet.

_CW_AtmosphereFogMul = The atmosphere's final thickness will be multiplied by this.

_CW_AtmosphereFogPower = The atmosphere's center to horizon thickness transition will be this sharp.

_CW_AtmosphereBrightness = The atmosphere color will be multiplied by this.

_CW_AtmosphereOuter = The atmosphere's horizon to outer color transition will be offset by this distance.

_CW_AtmosphereInnerColor = The atmosphere's color at the center of the planet.

_CW_AtmosphereOuterColor = The atmosphere's color at the horizon and into space.

Material

The material used to render this component.

This must use the CW/Backgrounds/BackgroundPlanet shader.

Arc

The size of this planet in the sky.

MaterialOverrides

This allows you to make this component override any settings of the base material.