Selaa lähdekoodia

Docs: Reword light.distance explanation.

Don McCurdy 6 vuotta sitten
vanhempi
commit
30e994dc46
2 muutettua tiedostoa jossa 6 lisäystä ja 4 poistoa
  1. 3 2
      docs/api/en/lights/PointLight.html
  2. 3 2
      docs/api/en/lights/SpotLight.html

+ 3 - 2
docs/api/en/lights/PointLight.html

@@ -73,8 +73,9 @@ scene.add( light );
 		<p>
 		<p>
 			<em>[page:WebGLRenderer.physicallyCorrectLights Physically correct] mode</em> — When distance
 			<em>[page:WebGLRenderer.physicallyCorrectLights Physically correct] mode</em> — When distance
 			is zero, light will attenuate according to inverse-square law to infinite distance. When
 			is zero, light will attenuate according to inverse-square law to infinite distance. When
-			distance is non-zero, a more sudden cutoff is applied at this distance from the light, in
-			addition to inverse-square attenuation, limiting the light's range.
+			distance is non-zero, light will attenuate according to inverse-square law until near the
+			distance cutoff, where it will then attenuate quickly and smoothly to 0. Inherently, cutoffs
+			are not physically correct.
 		</p>
 		</p>
 		<p>
 		<p>
 			Default is *0.0*.
 			Default is *0.0*.

+ 3 - 2
docs/api/en/lights/SpotLight.html

@@ -115,8 +115,9 @@
 		<p>
 		<p>
 			<em>[page:WebGLRenderer.physicallyCorrectLights Physically correct] mode</em> — When distance
 			<em>[page:WebGLRenderer.physicallyCorrectLights Physically correct] mode</em> — When distance
 			is zero, light will attenuate according to inverse-square law to infinite distance. When
 			is zero, light will attenuate according to inverse-square law to infinite distance. When
-			distance is non-zero, a more sudden cutoff is applied at this distance from the light, in
-			addition to inverse-square attenuation, limiting the light's range.
+			distance is non-zero, light will attenuate according to inverse-square law until near the
+			distance cutoff, where it will then attenuate quickly and smoothly to 0. Inherently, cutoffs
+			are not physically correct.
 		</p>
 		</p>
 		<p>
 		<p>
 			Default is *0.0*.
 			Default is *0.0*.