|
@@ -56,7 +56,7 @@
|
|
|
scene.updateMatrixWorld( true );
|
|
|
|
|
|
let clone = scene.clone();
|
|
|
- clone.autoUpdate = false;
|
|
|
+ clone.matrixWorldAutoUpdate = false;
|
|
|
|
|
|
const rt = new THREE.WebGLRenderTarget( SIZE, SIZE );
|
|
|
|
|
@@ -139,7 +139,7 @@
|
|
|
if ( currentVertex >= totalVertex ) {
|
|
|
|
|
|
clone = scene.clone();
|
|
|
- clone.autoUpdate = false;
|
|
|
+ clone.matrixWorldAutoUpdate = false;
|
|
|
|
|
|
bounces ++;
|
|
|
currentVertex = 0;
|