Untitled
Loading...
Searching...
No Matches
postprocess.vert
Go to the documentation of this file.
1
2#version 330 core
3
4out vec2 vUV;
5
6void main()
7{
8 vec2 pos = vec2(
9 (gl_VertexID << 1) & 2,
10 gl_VertexID & 2
11 );
12
13 vUV= pos;
14 gl_Position = vec4(pos * 2.0 - 1.0, 0.0, 1.0);
15}
void main()
in vec2 vUV
Definition lightmap.frag:13
Definition types.h:11
Definition types.h:13