diff --git a/fogTesting.html b/fogTesting.html index e7ef11d..5c42aff 100644 --- a/fogTesting.html +++ b/fogTesting.html @@ -56,7 +56,14 @@ //Plane let PlaneGeo = new THREE.PlaneGeometry(2000,2000); + PlaneGeo.rotateX(-Math.PI /2); + const material = new THREE.MeshStandardMaterial(0x7a7a52); + let floor1 = new THREE.Mesh(planeGeo, material); + floor1.position.y = -50; + floor1.receiveShadow = true; + //Adding objects to Scene + scene.add(floor1); window.addEventListener( 'resize', onWindowResize );