mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -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();    
 | |
| }
 | 
