Hi There,
Wondering if I’m not doing this right, but I’ve got some fog in my VR scene:
//FOG (extremely cool, don't think it really helps with rendering)
scene.fogMode = BABYLON.Scene.FOGMODE_LINEAR;
//BABYLON.Scene.FOGMODE_EXP;
//BABYLON.Scene.FOGMODE_NONE;
//BABYLON.Scene.FOGMODE_EXP2;
//BABYLON.Scene.FOGMODE_LINEAR;
//day fog
// scene.fogColor = new BABYLON.Color3(0.9, 0.9, 0.85);
//night fog
//scene.fogColor = new BABYLON.Color3(0,0,0);
scene.fogDensity = 1; //.01
scene.fogStart = 20.0;
scene.fogEnd = 60.0;
But what I’m seeing is this:
Rather than things “fading into darkness” as it does in the babylonjs example, it just blots out the color of the material.
Advice thoughts opinions?