SgtSkyLighter
This component can be added to your scene, and it will override the sun light color and ambient color when the camera is within the atmosphere of a planet to match the atmospheric scattering.
Observer
The camera whose position will be tracked.
None/null = Main Camera.
Sun
The sun light.
None/null = First SgtLight in the scene.
OverrideAmbientColor
By default, this component will add light on top of the ambient color you have set in the scene, but you can override it here. Keep in mind the alpha value is used to override it.
AmbientMultiplier
The ambient light will be multiplied by this.
Last updated