Skip to content

Lighting Parameters

jbengtson edited this page Sep 4, 2014 · 1 revision

These settings are available in RealSolarSystemSettings.cfg from version 7.3 onward.

sunlightColor = <rgba color (float array)>

This is the color of the sunlight in flight mode.

sunlightIntensity = <float>

This is the intensity of the sunlight in flight mode. 1.0 is the default.

scaledSunlightColor = <rgba color (float array)>

This is the color of the sunlight in scaled space (map mode, tracking station).

scaledSunlightIntensity = <float>

This is the intensity of the sunlight in scaled space (map mode, tracking station).

IVASunColor = <rgba color (float array)>

This is the color of the sunlight in IVA mode.

IVASunIntensity = <float>

This is the intensity of the sunlight in IVA mode.

sunlightLensFlareColor = <rgba color (float array)>

This is the "lens flare" color for the sun. This controls the color of the sun's "corona". Setting the alpha channel to 0.0 will remove the corona effect.

ambientLightColor = <rgba color (float array)>

This is the color of the ambient light in flight mode.


As an example, the values for an M3V class star might look close to this:

sunlightColor = 1.0, 0.74, 0.49, 1.0

sunlightIntensity = 0.44

scaledSunlightColor = 1.0, 0.74, 0.49, 1.0

scaledSunlightIntensity = 0.44

IVASunColor = 1.0, 0.74, 0.49, 1.0

IVASunIntensity = 0.44

sunlightLensFlareColor = 1.0, 0.74, 0.49, 0.85

ambientLightColor = 0.0, 0.0, 0.0, 1.0