e7bf8d2f48
Makes maintenance easier with less clutter.
17 lines
187 B
GLSL
17 lines
187 B
GLSL
#version 450
|
|
|
|
struct VOUT
|
|
{
|
|
vec4 a;
|
|
};
|
|
|
|
layout(location = 0) in VOUT Clip;
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
void main()
|
|
{
|
|
VOUT tmp = Clip;
|
|
tmp.a += 1.0;
|
|
FragColor = tmp.a;
|
|
}
|