SPIRV-Cross/reference/shaders/desktop-only/frag/clip-cull-distance.desktop.frag
2018-02-22 14:36:50 +01:00

13 lines
190 B
GLSL

#version 450
in float gl_ClipDistance[4];
in float gl_CullDistance[3];
layout(location = 0) out float FragColor;
void main()
{
FragColor = gl_ClipDistance[0] + gl_CullDistance[0];
}