|
|
@@ -322,8 +322,8 @@
|
|
|
|
|
|
postprocessing.scene = new THREE.Scene();
|
|
|
|
|
|
- postprocessing.camera = new THREE.OrthographicCamera( window.innerWidth / - 2, window.innerWidth / 2, window.innerHeight / 2, window.innerHeight / - 2, - 10000, 10000 );
|
|
|
- postprocessing.camera.position.z = 100;
|
|
|
+ postprocessing.camera = new THREE.OrthographicCamera( window.innerWidth / - 2, window.innerWidth / 2, window.innerHeight / 2, window.innerHeight / - 2, 1, 10 );
|
|
|
+ postprocessing.camera.position.z = 2;
|
|
|
|
|
|
postprocessing.scene.add( postprocessing.camera );
|
|
|
|
|
|
@@ -352,7 +352,6 @@
|
|
|
} );
|
|
|
|
|
|
postprocessing.quad = new THREE.Mesh( new THREE.PlaneGeometry( window.innerWidth, window.innerHeight ), postprocessing.materialBokeh );
|
|
|
- postprocessing.quad.position.z = - 500;
|
|
|
postprocessing.scene.add( postprocessing.quad );
|
|
|
|
|
|
}
|