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