소스 검색

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",
 		"}",