spoonedit/Shaders/Link.fsh
2024-12-21 17:09:23 +01:00

14 lines
188 B
GLSL

#version 460
layout(location = 0) out vec4 FragColor;
uniform vec4 color;
in float depth;
void main(){
if(depth > 1 ||
depth < 0)
discard;
FragColor = color;
}