|
@@ -34,6 +34,7 @@ class XRHandPrimitiveModel {
|
|
const material = new MeshStandardMaterial();
|
|
const material = new MeshStandardMaterial();
|
|
|
|
|
|
this.handMesh = new InstancedMesh( geometry, material, 30 );
|
|
this.handMesh = new InstancedMesh( geometry, material, 30 );
|
|
|
|
+ this.handMesh.frustumCulled = false;
|
|
this.handMesh.instanceMatrix.setUsage( DynamicDrawUsage ); // will be updated every frame
|
|
this.handMesh.instanceMatrix.setUsage( DynamicDrawUsage ); // will be updated every frame
|
|
this.handMesh.castShadow = true;
|
|
this.handMesh.castShadow = true;
|
|
this.handMesh.receiveShadow = true;
|
|
this.handMesh.receiveShadow = true;
|