2015-10-13 16:29:02 -06:00
|
|
|
#version 450
|
2015-05-15 21:32:46 +00:00
|
|
|
|
2015-10-13 16:29:02 -06:00
|
|
|
in vec4 Color;
|
|
|
|
in float Depth;
|
|
|
|
|
2015-11-15 21:33:39 -07:00
|
|
|
layout(depth_greater) out float gl_FragDepth;
|
2015-05-15 21:32:46 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
gl_FragDepth = Depth;
|
|
|
|
}
|