Skip to main content
Skip table of contents

FX File - TimeOfDay.fx

Token NameDefault ValueAccepted ValueDescriptionToken Source File
TOD_AUTO_CITY_GLOWFALSE
Automatic city glow.TimeOfDay.fx
CITY_GLOW_DB_NAME"sh21/cityGlowDB.cfg"
The city glow DB name.
NVG_LOBE_ATTEN_HEIGHT3000.0
NVG lobe attenuation height.
NVG_LOBE_ATTEN_SCALE1.0
NVG lobe attenuation scale.
OPAQUE_CLOUD_LAYER_ATTEN0.97
Opaque cloud layer attenuation.
OPAQUE_CLOUD_LAYER_NVG_ATTEN_FACTOR0.1
Opaque cloud layer NVG attenuation.
OPAQUE_CLOUD_LAYER_NVG_STARLIGHT_ATTEN_FACTOR0.6
Opaque cloud layer NVG starlight attenuation.
OTW_SUN_AMB_SCALE0.7
OTW sun ambient scale.
OTW_SUN_AMB_TINT0.25
OTW sun ambient tint.
OTW_SUNRISE_SUNSET_ELEV_1-7.5
Sunrise and sunset interpolation elevation 1.
OTW_SUNRISE_SUNSET_ELEV_27.5
Sunrise and sunset interpolation elevation 2.
OTW_SUNRISE_SUNSET_ELEV_337.5
Sunrise and sunset interpolation elevation 3.
MOON_FOG_ATTEN_INT0.9
How much fog attenuates OTW moon illum.
MOON_FOG_ATTEN_RANGE15000.0
How much fog range attenuates moon illum.
OTW_AMB_FULL_MOON_VALUE0.2
Ambient moon light scalar - amount of (OTW) ambient light during a full moon.
OTW_AMB_FADE_MOON_ELEVATION_START12.0
Ambient moon light will start to fade out (in OTW) when the moon elevation is reaches this number.
OTW_AMB_FADE_MOON_ELEVATION_END-12.0

Ambient moon light will be at the Night / Dark level (in OTW) when the moon elevation is below this number (can be negative).

Set equal to _otw_amb_fade_moon_elevation_start to disable the effect.

NVG_STARLIGHT_MOON_ILLUM_BLEND0.8

NVG Starlight moon illumination blend factor.

NVG_STARLIGHT_AMBIENT_FACTOR2.0

NVG Starlight ambient factor.

HDR_AMBIENT_COLOR_0_CLEAR_SKY0.4, 0.4, 0.5
Ambient colors for each of the 4 zones for clear sky.
HDR_AMBIENT_COLOR_1_CLEAR_SKY0.4, 0.5, 0.55
HDR_AMBIENT_COLOR_2_CLEAR_SKY0.55, 0.65, 0.8
HDR_AMBIENT_COLOR_3_CLEAR_SKY0.9, 0.9, 0.95
HDR_AMBIENT_COLOR_0_CLOUDY_SKY0.5, 0.5, 0.5
Ambient colors for each of the 4 zones for cloudy sky.
HDR_AMBIENT_COLOR_1_CLOUDY_SKY0.5, 0.5, 0.5
HDR_AMBIENT_COLOR_2_CLOUDY_SKY0.5, 0.5, 0.5
HDR_AMBIENT_COLOR_3_CLOUDY_SKY0.9, 0.9, 1.0
HDR_LIGHTING_TODVAL_COLOR_10.20

HDR_LIGHTING_TODVAL_COLOR_20.45

HDR_LIGHTING_COLOR_01.0, 0.12, 0.0
HDR lighting color.
HDR_LIGHTING_COLOR_11.0, 0.5, 0.3
HDR_LIGHTING_COLOR_21.0, 0.72, 0.23
HDR_LIGHTING_COLOR_31.0, 0.9, 0.85
HDR_SHADOW_ATTENUATION_FOG_RANGE_START5000
Shadow attenuation for range start value.
HDR_SHADOW_ATTENUATION_FOG_RANGE_END60000
Shadow attenuation fog range end value.
HDR_LIGHTING_ATTENUATION_FOR_SNOW0.3
Lighting attenuation during snow.
INCLUDE_LIGHTING_IN_HOST_RETURNED_AMBIENTFALSE
Whether or not to include lightning in the ambient color returned to the host.
AMBIENT_COLOR_SUN_WEIGHT0.25

Percentage of the ambient color attributed to sun:

0.0: Full Sky Color

1.0: Full Sun Ambient

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.