prepare environment fog options
This commit is contained in:
@@ -62,6 +62,9 @@ class GameEngine extends THREE.EventDispatcher{
|
||||
// hemiLight.position.multiplyScalar( 0.20 );
|
||||
scene.add(dirLight);
|
||||
|
||||
// scene.fog = new THREE.Fog(0xbbaaaa, 11, 33);
|
||||
// scene.fog = new THREE.FogExp2(0xaaaaaa, 0.037);
|
||||
|
||||
dirLight.castShadow = true;
|
||||
|
||||
dirLight.shadow.mapSize.width = 1024;
|
||||
|
||||
Reference in New Issue
Block a user