 bfcd062e8e
			
		
	
	bfcd062e8e
	
	
	
		
			
			We currently ask for anything above 3.2 GL contexts, but we're still using GLSL 1.50 shaders all over the place. If a GL driver supports GL 3.2+ and GLSL 1.50 only then we'd be in trouble, but the chances of that happening are really small.
		
			
				
	
	
		
			12 lines
		
	
	
		
			126 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			126 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #version 330
 | |
| 
 | |
| in vec2 position;
 | |
| in vec2 uv;
 | |
| 
 | |
| out vec2 vUv;
 | |
| 
 | |
| void main() {
 | |
|   gl_Position = vec4(position, 0, 1);
 | |
|   vUv = uv;
 | |
| }
 |