Explorar el Código

BokehShader2: Clean up

Mugen87 hace 7 años
padre
commit
6cb5898326
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  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 );",