added stencil:true + update docs
This commit is contained in:
parent
a4b85b501c
commit
68870b89f6
|
@ -64,7 +64,7 @@
|
|||
|
||||
camera = new THREE.PerspectiveCamera( 70, window.innerWidth / window.innerHeight, 0.1, 2000 );
|
||||
|
||||
renderer = new THREE.WebGLRenderer( { antialias: true } );
|
||||
renderer = new THREE.WebGLRenderer( { antialias: true, stencil:true } );
|
||||
renderer.autoClear = false;
|
||||
renderer.setPixelRatio( window.devicePixelRatio );
|
||||
renderer.setSize( window.innerWidth, window.innerHeight );
|
||||
|
|
10
index.html
10
index.html
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue