mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-04 04:24:04 -06:00
11 lines
195 B
GLSL
11 lines
195 B
GLSL
#version 120
|
|
|
|
uniform float zoom;
|
|
// x = min, y = max
|
|
uniform vec2 point_sizes;
|
|
|
|
void main()
|
|
{
|
|
gl_PointSize = clamp(zoom, point_sizes.x, point_sizes.y);
|
|
gl_Position = ftransform();
|
|
}
|