Преглед на файлове

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