R2 Shaders
src
main
glsl
com
io7m
r2
shaders
sources
R2StencilScreen.vert
Go to the documentation of this file.
1
/// \file R2StencilScreen.vert
2
/// \brief Screen stencil vertex shader.
3
4
layout
(location = 0) in vec3 R2_vertex_position;
// Object-space 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