mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-31 17:21:59 +08:00
12 lines
166 B
GLSL
12 lines
166 B
GLSL
#version 110
|
|
|
|
uniform mat4 world_matrix;
|
|
|
|
varying float world_pos_z;
|
|
|
|
void main()
|
|
{
|
|
world_pos_z = (world_matrix * gl_Vertex).z;
|
|
gl_Position = ftransform();
|
|
}
|