summaryrefslogtreecommitdiffstats
path: root/src/jogamp/graph/curve/opengl/shader/curverenderer01.vp
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-03-30 15:08:03 +0300
committerRami Santina <[email protected]>2011-03-30 15:08:03 +0300
commit81c3642d6cd98a979808c95c27e265d0cc726ed4 (patch)
tree204741633c9169b48a9e2960318c3b948972f462 /src/jogamp/graph/curve/opengl/shader/curverenderer01.vp
parentfca85c495e24322dd8870832fe3934fbe2d40236 (diff)
parentdbc74b98eb7429cbb51f7af0572ab53ddd0d9edc (diff)
Merge chnages with sgothel
Diffstat (limited to 'src/jogamp/graph/curve/opengl/shader/curverenderer01.vp')
-rw-r--r--src/jogamp/graph/curve/opengl/shader/curverenderer01.vp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/jogamp/graph/curve/opengl/shader/curverenderer01.vp b/src/jogamp/graph/curve/opengl/shader/curverenderer01.vp
new file mode 100644
index 000000000..bc9ecb41e
--- /dev/null
+++ b/src/jogamp/graph/curve/opengl/shader/curverenderer01.vp
@@ -0,0 +1,13 @@
+//#version 100
+
+uniform mat4 mgl_PMVMatrix[2];
+attribute vec4 v_position;
+attribute vec2 texCoord;
+
+varying vec2 v_texCoord;
+
+void main(void)
+{
+ gl_Position = mgl_PMVMatrix[0] * mgl_PMVMatrix[1] * v_position;
+ v_texCoord = texCoord.st;
+} \ No newline at end of file