diff options
Diffstat (limited to 'shaders/humus-dynamicbranching/1.vert')
-rw-r--r-- | shaders/humus-dynamicbranching/1.vert | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/shaders/humus-dynamicbranching/1.vert b/shaders/humus-dynamicbranching/1.vert deleted file mode 100644 index df41037..0000000 --- a/shaders/humus-dynamicbranching/1.vert +++ /dev/null @@ -1,29 +0,0 @@ -#version 120 -#define saturate(x) clamp(x,0.0,1.0) -#define lerp mix -#line 2 -attribute vec2 textureCoord;
-attribute vec3 tangent;
-attribute vec3 binormal;
-attribute vec3 normal;
-
-uniform vec3 camPos;
-
-varying vec2 texCoord;
-varying vec3 vVec;
-
-void main(){
- gl_Position = ftransform();
-
-#ifdef MULTIPASS
- texCoord = textureCoord;
-
- vec3 viewVec = camPos - gl_Vertex.xyz;
- vVec.x = dot(viewVec, tangent);
- vVec.y = dot(viewVec, binormal);
- vVec.z = dot(viewVec, normal);
-#endif
-}
-
-
- |