Skip to content

fogDensity

uniform float fogDensity;

This uniform stores the relative fog density used for vanilla fog, based on the current biome, weather, water/lava/packed snow, etc. The value ranges from 0.0 (lowest density) to 1.0 (highest density).