Skip to content

Commit 6c0a44a

Browse files
authored
Docs: Improve WebGLRenderer page. (#25745)
1 parent 4e361e9 commit 6c0a44a

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

docs/api/en/renderers/WebGLRenderer.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,9 @@ <h3>[property:Object info]</h3>
214214
<h3>[property:Boolean localClippingEnabled]</h3>
215215
<p>Defines whether the renderer respects object-level clipping planes. Default is `false`.</p>
216216

217-
<h3>[property:Boolean physicallyCorrectLights]</h3>
217+
<h3>[property:Boolean useLegacyLights]</h3>
218218
<p>
219-
Whether to use physically correct lighting mode. Default is `false`.
220-
See the [example:webgl_lights_physical lights / physical] example.
219+
Whether to use the legacy lighting mode or not. Default is `true`.
221220
</p>
222221

223222
<h3>[property:Object properties]</h3>

docs/api/it/renderers/WebGLRenderer.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,9 @@ <h3>[property:Object info]</h3>
223223
<h3>[property:Boolean localClippingEnabled]</h3>
224224
<p>Definisce se il render rispetta i piani di taglio a livello di oggetto. Il valore predefinito è `false`.</p>
225225

226-
<h3>[property:Boolean physicallyCorrectLights]</h3>
226+
<h3>[property:Boolean useLegacyLights]</h3>
227227
<p>
228-
Indica se utilizzare la modalità di illuminazione fisicamente corretta. Il valore predefinito è `false`.
229-
Vedi l'esempio [example:webgl_lights_physical lights / physical].
228+
Whether to use the legacy lighting mode or not. Il valore predefinito è `true`.
230229
</p>
231230

232231
<h3>[property:Object properties]</h3>

docs/api/zh/renderers/WebGLRenderer.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,9 @@ <h3>[property:Object info]</h3>
192192
<h3>[property:Boolean localClippingEnabled]</h3>
193193
<p>定义渲染器是否考虑对象级剪切平面。 默认为*false*.</p>
194194

195-
<h3>[property:Boolean physicallyCorrectLights]</h3>
195+
<h3>[property:Boolean useLegacyLights]</h3>
196196
<p>
197-
是否使用物理上正确的光照模式。 默认是*false*。
198-
示例:[example:webgl_lights_physical lights / physical]
197+
Whether to use the legacy lighting mode or not. 默认是*true*。
199198
</p>
200199

201200
<h3>[property:Object properties]</h3>

0 commit comments

Comments
 (0)