Optionalmode: fogModeEnumOptionalcolor: stringOptionaldensity: numberOptionalstart: numberOptionalend: numberOptionalmodenone turns fog off, linear fades between start and end, exponential and
exponentialSquared fade by density
OptionalcolorHex color distant geometry fades into, normally the background color
OptionaldensityHow quickly the exponential modes thicken with distance; ignored by linear fog
OptionalstartDistance from the camera where linear fog begins, in scene units
OptionalendDistance from the camera where linear fog hides everything, in scene units
Feeds
babylon.scene.fog: the fog mode, its color, how dense it is and, for linear fog, where it starts and ends.