R2 Shaders
R2DebugIdentity.frag
Go to the documentation of this file.
1 /// \file R2DebugIdentity.frag
2 /// \brief Writes a constant color to the first fragment output.
3 
4 layout(location = 0) out vec4 R2_out;
5 
6 uniform vec4 data;
7 
8 void
9 main (void)
10 {
11  R2_out = data;
12 }
layout(location=0) out vec4 R2_out
RGBA color.