bgfx/3rdparty/spirv-cross/shaders-hlsl/frag/clip-cull-distance.frag
Бранимир Караџић ac29dccc6a Added spirv-cross.
2019-01-09 19:23:47 -08:00

13 lines
208 B
GLSL

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