Browse Source

BokehShader: Fix shader mode

Mugen87 7 years ago
parent
commit
4896d6fc93
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/shaders/BokehShader2.js

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

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