Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
1713bc2c
T
three.js
项目概览
车家大少爷
/
three.js
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
three.js
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
1713bc2c
编写于
8月 10, 2021
作者:
W
WestLangley
提交者:
GitHub
8月 10, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Improve description of light intensity and power units. (#22299)
上级
b6b18963
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
48 addition
and
17 deletion
+48
-17
docs/api/en/lights/Light.html
docs/api/en/lights/Light.html
+1
-2
docs/api/en/lights/PointLight.html
docs/api/en/lights/PointLight.html
+14
-8
docs/api/en/lights/RectAreaLight.html
docs/api/en/lights/RectAreaLight.html
+19
-0
docs/api/en/lights/SpotLight.html
docs/api/en/lights/SpotLight.html
+14
-7
未找到文件。
docs/api/en/lights/Light.html
浏览文件 @
1713bc2c
...
...
@@ -41,8 +41,7 @@
<h3>
[property:Float intensity]
</h3>
<p>
The light's intensity, or strength.
<br
/>
In [page:WebGLRenderer.physicallyCorrectLights physically correct] mode, the product of
[page:.color color] * intensity is interpreted as luminous intensity measured in candela.
<br
/>
In [page:WebGLRenderer.physicallyCorrectLights physically correct] mode, the units of intensity depend on the type of light.
<br
/>
Default - *1.0*.
</p>
...
...
docs/api/en/lights/PointLight.html
浏览文件 @
1713bc2c
...
...
@@ -77,17 +77,23 @@ scene.add( light );
Default is *0.0*.
</p>
<h3>
[property:Float intensity]
</h3>
<p>
The light's intensity. Default is *1*.
<br
/>
In [page:WebGLRenderer.physicallyCorrectLights physically correct] mode, intensity is the luminous
intensity of the light measured in candela (cd).
<br
/><br
/>
Changing the intensity will also change the light's power.
</p>
<h3>
[property:Float power]
</h3>
<p>
The light's power.
<br
/>
In [page:WebGLRenderer.physicallyCorrectLights physically correct] mode, the luminous
power of the light measured in lumens. Default is *4Math.PI*.
<br
/><br
/>
This is directly related to the [page:.intensity intensity] in the ratio
<code>
power = intensity * 4
π
</code>
and changing this will also change the intensity.
In [page:WebGLRenderer.physicallyCorrectLights physically correct] mode, power is the luminous
power of the light measured in lumens (lm).
<br
/><br
/>
Changing the power will also change the light's intensity.
</p>
<h3>
[property:PointLightShadow shadow]
</h3>
...
...
docs/api/en/lights/RectAreaLight.html
浏览文件 @
1713bc2c
...
...
@@ -62,6 +62,25 @@ rectLight.add( rectLightHelper );
See the base [page:Light Light] class for common properties.
</p>
<h3>
[property:Float intensity]
</h3>
<p>
The light's intensity. Default is *1*.
<br
/>
In [page:WebGLRenderer.physicallyCorrectLights physically correct] mode, intensity is the luminance
(brightness) of the light measured in nits (cd/m^2).
<br
/><br
/>
Changing the intensity will also change the light's power.
</p>
<h3>
[property:Float power]
</h3>
<p>
The light's power.
<br
/>
In [page:WebGLRenderer.physicallyCorrectLights physically correct] mode, power is the luminous
power of the light measured in lumens (lm).
<br
/><br
/>
Changing the power will also change the light's intensity.
</p>
<h2>
Methods
</h2>
<p>
See the base [page:Light Light] class for common methods.
...
...
docs/api/en/lights/SpotLight.html
浏览文件 @
1713bc2c
...
...
@@ -103,6 +103,16 @@
Default is *0.0*.
</p>
<h3>
[property:Float intensity]
</h3>
<p>
The light's intensity. Default is *1*.
<br
/>
In [page:WebGLRenderer.physicallyCorrectLights physically correct] mode, intensity is the luminous
intensity of the light measured in candela (cd).
<br
/><br
/>
Changing the power will also change the light's intensity.
</p>
<h3>
[property:Float penumbra]
</h3>
<p>
Percent of the spotlight cone that is attenuated due to penumbra. Takes values between
...
...
@@ -117,16 +127,13 @@
<h3>
[property:Float power]
</h3>
<p>
The light's power.
<br
/>
In [page:WebGLRenderer.physicallyCorrectLights physically correct] mode, the luminous
power of the light measured in lumens
. Default is *4Math.PI*
.
<br
/><br
/>
In [page:WebGLRenderer.physicallyCorrectLights physically correct] mode,
power is
the luminous
power of the light measured in lumens
(lm)
.
<br
/><br
/>
This is directly related to the [page:.intensity intensity] in the ratio
<code>
power = intensity *
π
</code>
and changing this will also change the intensity.
Changing this will also change the light's intensity.
</p>
<h3>
[property:SpotLightShadow shadow]
</h3>
<p>
A [page:SpotLightShadow] used to calculate shadows for this light.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录