uiacceltk/hitchcock/backgroundanim/refplugin/data/refvertexshader.vsh
changeset 64 9f8c0686fb49
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uiacceltk/hitchcock/backgroundanim/refplugin/data/refvertexshader.vsh	Wed Nov 03 19:29:22 2010 +0200
@@ -0,0 +1,9 @@
+varying vec2  texCoord;
+attribute vec4 vPosition;
+uniform float aspect;
+
+void main(void)
+    {
+    gl_Position = vPosition;
+    texCoord = (vec2( gl_Position.x*aspect, - gl_Position.y ) + vec2( 1.0 ) ) / vec2( 2.0 );   
+    }