Space Sim
Toggle main menu visibility
Loading...
Searching...
No Matches
src
render
postprocess.vert
Go to the documentation of this file.
1
#version 330 core
2
3
out
vec2
vUV
;
4
5
void
main
()
6
{
7
vec2
pos =
vec2
(
8
(gl_VertexID << 1) & 2,
9
gl_VertexID & 2
10
);
11
12
vUV
= pos;
13
gl_Position =
vec4
(pos * 2.0 - 1.0, 0.0, 1.0);
14
}
main
int main(int argc, char *argv[])
Definition
main.c:1726
vUV
in vec2 vUV
Definition
postprocess.frag:3
vec2
Definition
types.h:45
vec4
Definition
types.h:47
Generated by
1.18.0