v4k-git-backup/engine/art/shaders/vs_0_2_fullscreen_quad_A.glsl

7 lines
158 B
Plaintext
Raw Normal View History

2023-08-10 21:53:51 +00:00
out vec2 texcoord;
2023-09-10 14:46:07 +00:00
2023-08-10 21:53:51 +00:00
void main() {
texcoord = vec2( (gl_VertexID << 1) & 2, gl_VertexID & 2 );
gl_Position = vec4( texCoord * 2.0 - 1.0, 0.0, 1.0 );
}