Bläddra i källkod

BokehShader2: Clean up

Mugen87 7 år sedan
förälder
incheckning
6cb5898326
1 ändrade filer med 0 tillägg och 5 borttagningar
  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 );",