Skip to content

Commit

Permalink
Examples: Removed SpotLights from webgl_materials_physical_transmissi…
Browse files Browse the repository at this point in the history
…on example.
  • Loading branch information
mrdoob committed May 27, 2021
1 parent e87bfeb commit 090982d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
Binary file modified examples/screenshots/webgl_materials_physical_transmission.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 0 additions & 20 deletions examples/webgl_materials_physical_transmission.html
Expand Up @@ -132,18 +132,6 @@

//

const spotLight1 = new THREE.SpotLight( 0xffffff, params.lightIntensity );
spotLight1.position.set( 100, 200, 100 );
spotLight1.angle = Math.PI / 6;
scene.add( spotLight1 );

const spotLight2 = new THREE.SpotLight( 0xffffff, params.lightIntensity );
spotLight2.position.set( - 100, - 200, - 100 );
spotLight2.angle = Math.PI / 6;
scene.add( spotLight2 );

//

stats = new Stats();
container.appendChild( stats.dom );

Expand Down Expand Up @@ -208,14 +196,6 @@

} );

gui.add( params, 'lightIntensity', 0, 1, 0.01 )
.name( 'light intensity' )
.onChange( function () {

spotLight1.intensity = spotLight2.intensity = params.lightIntensity;

} );

gui.add( params, 'exposure', 0, 1, 0.01 )
.onChange( function () {

Expand Down

0 comments on commit 090982d

Please sign in to comment.