mirror of
https://github.com/bevyengine/bevy
synced 2025-01-11 20:59:04 +00:00
15 lines
235 B
Text
15 lines
235 B
Text
|
#version 450 core
|
||
|
|
||
|
in gl_PerVertex {
|
||
|
float gl_CullDistance[3];
|
||
|
} gl_in[gl_MaxPatchVertices];
|
||
|
|
||
|
out gl_PerVertex {
|
||
|
float gl_CullDistance[3];
|
||
|
};
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
gl_CullDistance[2] = gl_in[1].gl_CullDistance[2];
|
||
|
}
|