2014-04-04 09:15:00 +00:00
|
|
|
#version 110
|
|
|
|
|
|
|
|
attribute vec2 position;
|
|
|
|
varying vec2 texcoord;
|
2014-03-24 07:21:30 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2014-04-04 09:15:00 +00:00
|
|
|
gl_Position = vec4(position, 0.0, 1.0);
|
|
|
|
texcoord = position * vec2(0.5) + vec2(0.5);
|
2014-03-24 07:21:30 +00:00
|
|
|
}
|