Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/webgl_materials_envmaps_parallax.html
Original file line number Diff line number Diff line change
Expand Up @@ -362,15 +362,15 @@

RectAreaLightUniformsLib.init();

const blueRectLight = new THREE.RectAreaLight( 0xf3aaaa, intensity, width, height );
const blueRectLight = new THREE.RectAreaLight( 0x9aaeff, intensity, width, height );
blueRectLight.position.set( 99, 5, 0 );
blueRectLight.lookAt( 0, 5, 0 );
scene.add( blueRectLight );

const blueRectLightHelper = new RectAreaLightHelper( blueRectLight );
blueRectLight.add( blueRectLightHelper );

const redRectLight = new THREE.RectAreaLight( 0x9aaeff, intensity, width, height );
const redRectLight = new THREE.RectAreaLight( 0xf3aaaa, intensity, width, height );
redRectLight.position.set( - 99, 5, 0 );
redRectLight.lookAt( 0, 5, 0 );
scene.add( redRectLight );
Expand Down