PrusaSlicer-NonPlainar/resources/shaders/options_110.vs
2020-05-22 13:21:43 +02:00

12 lines
195 B
GLSL

#version 110
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();
}