Browse Source

Docs: add normalOffset property

linbingquan 5 years ago
parent
commit
983dc9ac87
1 changed files with 4 additions and 0 deletions
  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)可能有助于减少阴影中的伪影
 		</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>
 			使用内置摄像头生成的深度图;超出像素深度的位置在阴影中。在渲染期间内部计算。