Skip to content

Commit

Permalink
Merge pull request #19680 from linbingquan/dev-docs-zh
Browse files Browse the repository at this point in the history
Docs: add normalOffset property
  • Loading branch information
mrdoob authored Jun 17, 2020
2 parents a2a5f28 + 983dc9a commit 5dbfa90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/api/zh/lights/shadows/LightShadow.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ <h3>[property:Float bias]</h3>
默认值为0.此处非常小的调整(大约0.0001)可能有助于减少阴影中的伪影
</p>

<h3>[property:Float normalOffset]</h3>
<p>Defines how much the position used to query the shadow map is offset along the object normal.</p>
<p>The default is 0. Increasing this value can be used to reduce shadow acne especially in large scenes where light shines onto geometry at a shallow angle. The cost is that shadows may appear distorted.</p>

<h3>[property:WebGLRenderTarget map]</h3>
<p>
使用内置摄像头生成的深度图;超出像素深度的位置在阴影中。在渲染期间内部计算。
Expand Down

0 comments on commit 5dbfa90

Please sign in to comment.