mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			238 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			238 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
#version 110
 | 
						|
 | 
						|
const vec3 ZERO = vec3(0.0, 0.0, 0.0);
 | 
						|
 | 
						|
uniform vec4 uniform_color;
 | 
						|
 | 
						|
varying vec3 clipping_planes_dots;
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
    if (any(lessThan(clipping_planes_dots, ZERO)))
 | 
						|
        discard;
 | 
						|
 | 
						|
    gl_FragColor = uniform_color;
 | 
						|
}
 |