7 lines
158 B
Plaintext
7 lines
158 B
Plaintext
|
out vec2 texcoord;
|
||
|
|
||
|
|
||
|
void main() {
|
||
|
texcoord = vec2( (gl_VertexID << 1) & 2, gl_VertexID & 2 );
|
||
|
gl_Position = vec4( texCoord * 2.0 - 1.0, 0.0, 1.0 );
|
||
|
}
|