visualDensityScalar
A scalar that impacts the visual density of fog. This value does not impact the culling of terrain. Use in combination with the Fog.density to make fog appear more or less dense.
// Increase fog appearance effect
viewer.scene.fog.visualDensityScalar = 0.6;
Content copied to clipboard