R2 Shaders
src
main
glsl
com
io7m
r2
shaders
sources
R2Filter.vert
Go to the documentation of this file.
1
/// \file R2Filter.vert
2
/// \brief Full-screen filter vertex shader
3
4
/// Object-space position
5
layout
(location = 0) in vec3 R2_vertex_position;
6
/// UV coordinates
7
layout
(location = 1) in vec2 R2_vertex_uv;
8
9
out vec2 R2_uv;
10
11
void
12
main (
void
)
13
{
14
R2_uv = R2_vertex_uv;
15
gl_Position = vec4 (R2_vertex_position, 1.0);
16
}
layout
layout(location=0) in vec3 R2_vertex_position
Object-space position.
Generated by
1.8.12