ソースを参照

better light angle in PointLightShadow docs (#21917)

makc 4 年 前
コミット
a5974c9107

+ 1 - 1
docs/api/en/lights/shadows/PointLightShadow.html

@@ -24,7 +24,7 @@
 
 		//Create a PointLight and turn on shadows for the light
 		const light = new THREE.PointLight( 0xffffff, 1, 100 );
-		light.position.set( 0, 10, 0 );
+		light.position.set( 0, 10, 4 );
 		light.castShadow = true; // default false
 		scene.add( light );
 

+ 1 - 1
docs/api/zh/lights/shadows/PointLightShadow.html

@@ -25,7 +25,7 @@
 
 		//Create a PointLight and turn on shadows for the light
 		const light = new THREE.PointLight( 0xffffff, 1, 100 );
-		light.position.set( 0, 10, 0 );
+		light.position.set( 0, 10, 4 );
 		light.castShadow = true; // default false
 		scene.add( light );