spoonedit/Shaders/Link.fsh

14 lines
188 B
Text
Raw Normal View History

2024-12-21 17:09:23 +01:00
#version 460
layout(location = 0) out vec4 FragColor;
uniform vec4 color;
in float depth;
void main(){
if(depth > 1 ||
depth < 0)
discard;
FragColor = color;
}