Explorar el Código

Update BokehShader.js

Fix orthographicDepthToViewZ() call
Michael Herzog hace 7 años
padre
commit
54a1e789c3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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",
 		"}",