R2 Shaders
src
main
glsl
com
io7m
r2
shaders
sources
R2DebugPositionOnly.vert
Go to the documentation of this file.
1
/// \file R2DebugPositionOnly.vert
2
/// \brief Assumes vertex positions are in clip space and ignores other attributes
3
4
layout
(location = 0) in vec3 R2_vertex_position;
5
6
void
7
main (
void
)
8
{
9
gl_Position = vec4 (R2_vertex_position, 1.0);
10
}
layout
layout(location=0) out vec4 R2_out
RGBA color.
Generated by
1.8.12