Browse Source

Update logarithmic depth buffer docs to add link

Garrett Johnson 5 years ago
parent
commit
1822ac6723

+ 2 - 1
docs/api/en/renderers/WebGLRenderer.html

@@ -66,7 +66,8 @@
 
 		[page:Boolean logarithmicDepthBuffer] -  whether to use a logarithmic depth buffer. It may
 		be neccesary to use this if dealing with huge differences in scale in a single scene. Note that this setting
-		uses gl_FragDepth if available which disables certain rendering optimizations.
+		uses gl_FragDepth if available which disables the [link:https://www.khronos.org/opengl/wiki/Early_Fragment_Test Early Fragment Test]
+		optimization and can cause a decrease in performance.
 		Default is *false*. See the [example:webgl_camera_logarithmicdepthbuffer camera / logarithmicdepthbuffer] example.
 		</p>
 

+ 2 - 1
docs/api/zh/renderers/WebGLRenderer.html

@@ -54,7 +54,8 @@
 		默认是*true*.<br />
 
 		[page:Boolean logarithmicDepthBuffer] -  是否使用对数深度缓存。如果要在单个场景中处理巨大的比例差异,就有必要使用。
-		Note that this setting uses gl_FragDepth if available which disables certain rendering optimizations.
+		Note that this setting uses gl_FragDepth if available which disables the [link:https://www.khronos.org/opengl/wiki/Early_Fragment_Test Early Fragment Test]
+		optimization and can cause a decrease in performance.
 		默认是*false*。 示例:[example:webgl_camera_logarithmicdepthbuffer camera / logarithmicdepthbuffer]
 		</p>