mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Tech ENABLE_GL_SHADERS_ATTRIBUTES - Added shaders for glsl version 140
(cherry picked from commit prusa3d/PrusaSlicer@76d1d4949b)
This commit is contained in:
		
							parent
							
								
									bb044754af
								
							
						
					
					
						commit
						1e4f16bd39
					
				
					 76 changed files with 1145 additions and 143 deletions
				
			
		
							
								
								
									
										17
									
								
								resources/shaders/140/imgui.vs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								resources/shaders/140/imgui.vs
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,17 @@ | |||
| #version 140 | ||||
| 
 | ||||
| uniform mat4 ProjMtx; | ||||
| 
 | ||||
| in vec2 Position; | ||||
| in vec2 UV; | ||||
| in vec4 Color; | ||||
| 
 | ||||
| out vec2 Frag_UV; | ||||
| out vec4 Frag_Color; | ||||
| 
 | ||||
| void main() | ||||
| { | ||||
| 	Frag_UV = UV; | ||||
| 	Frag_Color = Color; | ||||
|     gl_Position = ProjMtx * vec4(Position.xy, 0.0, 1.0); | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 enricoturri1966
						enricoturri1966