uiacceltk/hitchcock/backgroundanim/refplugin/data/refvertexshader.vsh
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     1 varying vec2  texCoord;
       
     2 attribute vec4 vPosition;
       
     3 uniform float aspect;
       
     4 
       
     5 void main(void)
       
     6     {
       
     7     gl_Position = vPosition;
       
     8     texCoord = (vec2( gl_Position.x*aspect, - gl_Position.y ) + vec2( 1.0 ) ) / vec2( 2.0 );   
       
     9     }