Przeglądaj źródła

webgl_materials_envmaps_parallax.html : modify the color value (#21363)

* webgl_materials_envmaps_parallax.html : modify the color value

* Generate a screenshot of webgl_materials_envmaps_parallax.
heqiang 4 lat temu
rodzic
commit
e5955defc1

BIN
examples/screenshots/webgl_materials_envmaps_parallax.jpg


+ 2 - 2
examples/webgl_materials_envmaps_parallax.html

@@ -362,7 +362,7 @@
 
 				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 );
@@ -370,7 +370,7 @@
 				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 );