12 lines
244 B
GLSL
12 lines
244 B
GLSL
#version 450
|
|
|
|
layout(location = 0) out vec4 outColor;
|
|
layout(location = 0) in vec3 fragColor;
|
|
layout(location = 1) in vec2 position;
|
|
|
|
void main() {
|
|
if (length(position) > 0.5) {
|
|
discard;
|
|
}
|
|
outColor = vec4(fragColor, 1.0);
|
|
}
|