Browse Source

Examples: Update shadowmap example.

Don McCurdy 7 years ago
parent
commit
22b2f127a6

BIN
examples/models/gltf/Flamingo.glb


BIN
examples/models/gltf/Horse.glb


BIN
examples/models/gltf/Parrot.glb


BIN
examples/models/gltf/Stork.glb


+ 1 - 2
examples/webgl_shadowmap.html

@@ -273,7 +273,7 @@
 
 					if ( fudgeColor ) {
 
-						mesh.material.color.offsetHSL( 0, Math.random() * 0.5 - 0.25, Math.random() * 0.2 - 0.1 );
+						mesh.material.color.offsetHSL( 0, Math.random() * 0.5 - 0.25, Math.random() * 0.5 - 0.25 );
 
 					}
 
@@ -302,7 +302,6 @@
 				loader.load( "models/gltf/Horse.glb", function( gltf ) {
 
 					var mesh = gltf.scene.children[ 0 ];
-					mesh.material.color.setHex( 0xffaa55 );
 
 					var clip = gltf.animations[ 0 ];