Browse Source

BokehShader2: Clean up

Mugen87 7 years ago
parent
commit
6cb5898326
1 changed files with 0 additions and 5 deletions
  1. 0 5
      examples/js/shaders/BokehShader2.js

+ 0 - 5
examples/js/shaders/BokehShader2.js

@@ -367,8 +367,6 @@ THREE.BokehDepthShader = {
 
 	vertexShader: [
 
-		"#include <common>",
-
 		"varying float vViewZDepth;",
 
 		"void main() {",
@@ -389,9 +387,6 @@ THREE.BokehDepthShader = {
 
 		"varying float vViewZDepth;",
 
-		"#include <common>",
-		"#include <packing>",
-
 		"void main() {",
 
 		"	float color = 1.0 - smoothstep( mNear, mFar, vViewZDepth );",