Talos docs

SceneFog

Since 0.6
Plain text

Fields

FieldTypeRequiredDefaultAllowed valuesDescription
modeFogModenoheight, exponential, linearheight (default): exponential fog that thins with height (heightFalloff). exponential: the same with no falloff, 1 - e^(-density * d) past startDistanceM. linear: none at startDistanceM, full at endDistanceM.
colorstringno#CCD9FFHex colour of a fully fogged surface as it shows on screen, the spelling skyColor uses: "#8FC0F0". Default "#CCD9FF", a light grey-blue. Match it to a color sky for a fogged horizon.
densitynumberno0height and exponential: extinction per metre at the base height, 0..1. Default 0.02.
heightFalloffnumberno0height only: how fast density thins with height, per metre, 0.001..10. Default 0.2.
baseHeightMnumberno0height only: the height, in metres, where density is density. Default 0.
startDistanceMnumberno0Metres from the camera where fog begins, 0 or more. Default 0.
endDistanceMnumberno100linear only: metres where fog is total, more than startDistanceM. Default 100.
maxOpacitynumberno1Cap on the fog's cover, 0..1. Default 1.
hdSceneFogHdnoHD-only fog fields; the standard renderer ignores them.

See also