demotool/toolshaders/fullscreen.glsl

3 lines
130 B
Text
Raw Normal View History

2017-11-24 13:46:43 +01:00
#version 450 core
out gl_PerVertex{vec4 gl_Position;}; void main(){gl_Position=vec4(vec2(gl_VertexID>>1,gl_VertexID&1)*2-1,0,1);}