Mikael Emtinger 14 роки тому
батько
коміт
408f05189c
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      examples/webgl_stencil.html

+ 1 - 1
examples/webgl_stencil.html

@@ -144,7 +144,7 @@
 				boxMesh.rotation.x = Math.sin( t ) * 180 * Math.PI / 180;
 				boxMesh.rotation.x = Math.sin( t ) * 180 * Math.PI / 180;
 
 
 				light.position.x = Math.sin( t );
 				light.position.x = Math.sin( t );
-				light.position.y = 1;
+				light.position.y = 1.5;
 				light.position.z = Math.cos( t );
 				light.position.z = Math.cos( t );
 
 
 				lightCube.position.copy( light.position );
 				lightCube.position.copy( light.position );