Explorar o código

returned to phong in animation scene revision

Jost Schmithals %!s(int64=8) %!d(string=hai) anos
pai
achega
e04f031ea8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/webgl_animation_scene.html

+ 1 - 1
examples/webgl_animation_scene.html

@@ -100,7 +100,7 @@
 				// Ground plane and fog: examples for applying additional children and new property values to the loaded scene
 
 				var geometry = new THREE.PlaneBufferGeometry( 20000, 20000 );
-				var material = new THREE.MeshStandardMaterial( { roughness: 1 } );
+				var material = new THREE.MeshPhongMaterial( { shininess: 0.1 } );
 				var ground = new THREE.Mesh( geometry, material );
 
 				ground.position.set( 0, - 250, 0 );