Skip to content

Commit 98c0604

Browse files
committed
Examples: Added sigma in misc_exporter_usdz example
1 parent 30189da commit 98c0604

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/misc_exporter_usdz.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,11 @@
6262
camera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 0.25, 20 );
6363
camera.position.set( - 2.5, 0.6, 3.0 );
6464

65-
const environment = new RoomEnvironment();
6665
const pmremGenerator = new THREE.PMREMGenerator( renderer );
6766

6867
scene = new THREE.Scene();
6968
scene.background = new THREE.Color( 0xf0f0f0 );
70-
scene.environment = pmremGenerator.fromScene( environment ).texture;
69+
scene.environment = pmremGenerator.fromScene( new RoomEnvironment(), 0.04 ).texture;
7170

7271
const loader = new GLTFLoader().setPath( 'models/gltf/DamagedHelmet/glTF/' );
7372
loader.load( 'DamagedHelmet.gltf', async function ( gltf ) {
-56 Bytes
Loading

0 commit comments

Comments
 (0)