;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Color of the directional light in the sky; double duty for sun and moon ;; No sense separating these until terrain can handle multiple directional lights ;;Night [SunMoonLight1] red = 20 green = 20 blue = 30 timeOfDay = 4 ;; Moonset [SunMoonLight2] red = 20 green = 20 blue = 30 timeOfDay = 5 ;; Sunrise needs to be completely dark or the abrupt directional change will be visible [SunMoonLight3] red = 0 green = 0 blue = 0 timeOfDay = 6 ;; Sunrise [SunMoonLight4] red = 40 green = 40 blue = 40 timeOfDay = 7 ;;Morning [SunMoonLight5] red = 40 green = 40 blue = 40 timeOfDay = 8 ;;High noon [SunMoonLight6] red = 40 green = 40 blue = 40 timeOfDay = 12 ;;Evening [SunMoonLight7] red = 40 green = 40 blue = 40 timeOfDay = 16 ;; Sunset [SunMoonLight8] red = 40 green = 40 blue = 40 timeOfDay = 17 ;; Sunset needs to be completely dark or the abrupt directional change will be visible [SunMoonLight9] red = 0 green = 0 blue = 0 timeOfDay = 18 ;; Moonrise [SunMoonLight10] red = 20 green = 20 blue = 30 timeOfDay = 19 ;;Night [SunMoonLight11] red = 20 green = 20 blue = 30 timeOfDay = 20 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Ambient color for objects at night. ;; this color is for the 'top' of all diffuse light probes outside. [AmbientSkyTop1] red = 40 green = 40 blue = 60 timeOfDay = 4 [AmbientSkyTop2] ;need more ambient when during the directional light transition red = 20 green = 20 blue = 70 timeOfDay = 6 [AmbientSkyTop3] red = 0 green = 0 blue = 0 timeOfDay = 8 [AmbientSkyTop4] red = 0 green = 0 blue = 0 timeOfDay = 19 [AmbientSkyTop5] red = 30 green = 30 blue = 128 timeOfDay = 18 [AmbientSkyTop6] red = 40 green = 40 blue = 60 timeOfDay = 20 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Ambient color for objects at night. ;; this color is for the 'top' of all diffuse light probes outside. [AmbientSkyBottom1] red = 30 green = 30 blue = 50 timeOfDay = 4 [AmbientSkyBottom2] red = 10 green = 10 blue = 70 timeOfDay = 6 [AmbientSkyBottom3] red = 0 green = 0 blue = 0 timeOfDay = 8 [AmbientSkyBottom4] red = 0 green = 0 blue = 0 timeOfDay = 19 [AmbientSkyBottom5] red = 10 green = 10 blue = 70 timeOfDay = 18 [AmbientSkyBottom6] red = 30 green = 30 blue = 50 timeOfDay = 20 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Fog distance. ;; Fog equation is basically: ;; f = saturate(((end - distance) / (end - start)) ;; f = pow(f, curve) ;; color = lerp(color, fogColor, f); ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; start ;; distance fog starts at ;; end ;; distance fog ends at (no longer increases) ;; curve ;; modifies distance curve: fog = pow(fog, curve). (1.0 == linear) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [FogDistance1] start = 0 end = 1000 curve = 0.75 timeOfDay = 1 [FogDistance2] start = 0 end = 1000 curve = 0.75 timeOfDay = 6 [FogDistance3] start = 0 end = 1000 curve = 0.75 timeOfDay = 8 [FogDistance4] start = 0 end = 1000 curve = 0.75 timeOfDay = 16 [FogDistance5] start = 0 end = 1000 curve = 0.75 timeOfDay = 18 [FogDistance6] start = 0 end = 1000 curve = 0.75 timeOfDay = 20