mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-14 08:21:46 +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();
|
|
}
|