PrusaSlicer-NonPlainar/resources/shaders/options_110.vs

12 lines
195 B
Plaintext
Raw Normal View History

2020-05-22 11:21:43 +00:00
#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();
}