浏览代码

Update BokehShader.js

Fix orthographicDepthToViewZ() call
Michael Herzog 7 年之前
父节点
当前提交
54a1e789c3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/js/shaders/BokehShader.js

+ 1 - 1
examples/js/shaders/BokehShader.js

@@ -70,7 +70,7 @@ THREE.BokehShader = {
 		"	#if PERSPECTIVE_CAMERA == 1",
 		"	return perspectiveDepthToViewZ( depth, nearClip, farClip );",
 		"	#else",
-		"	return orthoDepthToViewZ( depth, nearClip, farClip );",
+		"	return orthographicDepthToViewZ( depth, nearClip, farClip );",
 		"	#endif",
 		"}",