소스 검색

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