diff --git a/fogTesting.html b/fogTesting.html index b6f0871..6d430a6 100644 --- a/fogTesting.html +++ b/fogTesting.html @@ -26,7 +26,7 @@ const scene = new THREE.Scene(); //for foreground fog - scene.fog = new THREE.Fog("white", 10, 15); + scene.fog = new THREE.Fog(0xff0000, 10, 15); scene.fog = true; const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); camera.position.set( -13, 0, 100);