浏览代码

Merge pull request #19680 from linbingquan/dev-docs-zh

Docs: add normalOffset property
Mr.doob 5 年之前
父节点
当前提交
5dbfa90a4e
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      docs/api/zh/lights/shadows/LightShadow.html

+ 4 - 0
docs/api/zh/lights/shadows/LightShadow.html

@@ -38,6 +38,10 @@
 			默认值为0.此处非常小的调整(大约0.0001)可能有助于减少阴影中的伪影
 			默认值为0.此处非常小的调整(大约0.0001)可能有助于减少阴影中的伪影
 		</p>
 		</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>
 		<h3>[property:WebGLRenderTarget map]</h3>
 		<p>
 		<p>
 			使用内置摄像头生成的深度图;超出像素深度的位置在阴影中。在渲染期间内部计算。
 			使用内置摄像头生成的深度图;超出像素深度的位置在阴影中。在渲染期间内部计算。