Skip to content

Commit

Permalink
Examples: Added sigma in misc_exporter_usdz example
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Mar 26, 2021
1 parent 30189da commit 98c0604
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/misc_exporter_usdz.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,11 @@
camera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 0.25, 20 );
camera.position.set( - 2.5, 0.6, 3.0 );

const environment = new RoomEnvironment();
const pmremGenerator = new THREE.PMREMGenerator( renderer );

scene = new THREE.Scene();
scene.background = new THREE.Color( 0xf0f0f0 );
scene.environment = pmremGenerator.fromScene( environment ).texture;
scene.environment = pmremGenerator.fromScene( new RoomEnvironment(), 0.04 ).texture;

const loader = new GLTFLoader().setPath( 'models/gltf/DamagedHelmet/glTF/' );
loader.load( 'DamagedHelmet.gltf', async function ( gltf ) {
Expand Down
Binary file modified examples/screenshots/misc_exporter_usdz.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 98c0604

Please sign in to comment.