Create a linear fog in Babylon.js 2.0
Example of creating a linear fog in Babylon.js 2.0
scene.fogMode = BABYLON.Scene.FOGMODE_LINEAR;
scene.fogColor = new BABYLON.Color3(0, 0, 0.01);
scene.fogStart = 20.0;
scene.fogEnd = 78.0;