SPIRV-Cross/shaders-hlsl/frag/clip-cull-distance.frag

13 lines
208 B
GLSL
Raw Normal View History

#version 450
in float gl_ClipDistance[2];
2018-02-22 16:00:41 +00:00
in float gl_CullDistance[1];
layout(location = 0) out float FragColor;
void main()
{
2018-02-22 16:00:41 +00:00
FragColor = gl_ClipDistance[0] + gl_CullDistance[0] + gl_ClipDistance[1];
}