mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-30 23:15:32 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			238 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			238 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #ifdef GL_ES
 | |
| varying mediump vec2 varTexCoord;
 | |
| #else
 | |
| centroid varying vec2 varTexCoord;
 | |
| #endif
 | |
| 
 | |
| void main()
 | |
| {
 | |
| 	vec4 uv = vec4(inVertexPosition.xyz, 1.0) * 0.5 + 0.5;
 | |
| 	varTexCoord = uv.st;
 | |
| 	gl_Position = vec4(inVertexPosition.xyz, 1.0);
 | |
| }
 |