2018-02-22 15:40:04 +00:00
|
|
|
#version 450
|
|
|
|
|
|
|
|
in float gl_ClipDistance[2];
|
2018-02-22 16:00:41 +00:00
|
|
|
in float gl_CullDistance[1];
|
2018-02-22 15:40:04 +00:00
|
|
|
|
|
|
|
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];
|
2018-02-22 15:40:04 +00:00
|
|
|
}
|
|
|
|
|