mirror of
https://github.com/bevyengine/bevy
synced 2025-01-26 03:45:16 +00:00
12 lines
146 B
GLSL
12 lines
146 B
GLSL
|
#version 450
|
||
|
|
||
|
in vec4 Color;
|
||
|
in float Depth;
|
||
|
|
||
|
layout(depth_greater) out float gl_FragDepth;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
gl_FragDepth = Depth;
|
||
|
}
|