Преглед изворни кода

BokehShader: Fix shader mode

Mugen87 пре 7 година
родитељ
комит
4896d6fc93
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      examples/js/shaders/BokehShader2.js

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

@@ -263,7 +263,7 @@ THREE.BokehShader = {
 
 			"if (shaderFocus) {",
 
-				"//fDepth = getViewZ( getDepth( focusCoords ) );",
+				"fDepth = getViewZ( getDepth( focusCoords ) );",
 
 			"}",