diff options
author | Pushkar Joshi | 2012-02-09 10:55:58 -0800 |
---|---|---|
committer | Pushkar Joshi | 2012-02-09 10:55:58 -0800 |
commit | 5f42bd1f7723483d374cdd3fe51ef8298c86a1a2 (patch) | |
tree | 2404735a87ae1a755a1a301d1560db1c503d0a12 /assets/shaders/plasma.vert.glsl | |
parent | abeb9f1e23679200bb2f4a3ccbcebfb37645975c (diff) | |
parent | fba39dbb3bd64eddf6162fbf57232089e446fb06 (diff) | |
download | ninja-5f42bd1f7723483d374cdd3fe51ef8298c86a1a2.tar.gz |
Merge branch 'pentool' into brushtool
Diffstat (limited to 'assets/shaders/plasma.vert.glsl')
-rw-r--r-- | assets/shaders/plasma.vert.glsl | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/assets/shaders/plasma.vert.glsl b/assets/shaders/plasma.vert.glsl deleted file mode 100644 index f817c143..00000000 --- a/assets/shaders/plasma.vert.glsl +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | // | ||
2 | // Vertex shader for procedural bricks | ||
3 | // | ||
4 | // Authors: Dave Baldwin, Steve Koren, Randi Rost | ||
5 | // based on a shader by Darwyn Peachey | ||
6 | // | ||
7 | // Copyright (c) 2002-2006 3Dlabs Inc. Ltd. | ||
8 | // | ||
9 | // See 3Dlabs-License.txt for license information | ||
10 | // | ||
11 | |||
12 | //uniform vec3 LightPosition; | ||
13 | |||
14 | #ifdef GL_ES | ||
15 | precision highp float; | ||
16 | #endif | ||
17 | |||
18 | |||
19 | // attributes | ||
20 | attribute vec3 vert; | ||
21 | attribute vec3 normal; | ||
22 | attribute vec2 texcoord; | ||
23 | |||
24 | uniform mat4 u_shadowLightWorld; | ||
25 | uniform mat4 u_shadowBiasMatrix; | ||
26 | uniform mat4 u_vShadowLight; | ||
27 | uniform vec3 u_lightPos; | ||
28 | |||
29 | // matrix uniforms | ||
30 | uniform mat4 u_mvMatrix; | ||
31 | uniform vec3 u_eye; | ||
32 | uniform mat4 u_normalMatrix; | ||
33 | uniform mat4 u_projMatrix; | ||
34 | uniform mat4 u_worldMatrix; | ||
35 | |||
36 | varying vec2 v_uv; | ||
37 | |||
38 | void main(void) | ||
39 | { | ||
40 | gl_Position = u_projMatrix * u_mvMatrix * vec4(vert,1.0) ; | ||
41 | v_uv = texcoord; | ||
42 | } \ No newline at end of file | ||