added stencil:true + update docs

This commit is contained in:
Leon van Kammen 2025-02-07 17:00:54 +01:00
parent a4b85b501c
commit 68870b89f6
2 changed files with 6 additions and 6 deletions
example/three/sandbox
index.html

View File

@ -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 );

File diff suppressed because one or more lines are too long