mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			228 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			228 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #version 110
 | |
| 
 | |
| varying vec3 eye_position;
 | |
| varying vec3 eye_normal;
 | |
| 
 | |
| void main()
 | |
| {
 | |
|     eye_position = (gl_ModelViewMatrix * gl_Vertex).xyz;
 | |
|     eye_normal = gl_NormalMatrix * vec3(0.0, 0.0, 1.0);
 | |
|     gl_Position = ftransform();
 | |
| }
 | 
