浏览代码

BokehShader2: Clean up

Mugen87 7 年之前
父节点
当前提交
6cb5898326
共有 1 个文件被更改,包括 0 次插入5 次删除
  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 );",