mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-31 15:35:21 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			271 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			271 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| uniform mat4 mWorld;
 | |
| 
 | |
| varying lowp vec4 varColor;
 | |
| varying mediump vec2 varTexCoord;
 | |
| 
 | |
| void main(void)
 | |
| {
 | |
| 	varTexCoord = inTexCoord0.st;
 | |
| 	gl_Position = mWorldViewProj * inVertexPosition;
 | |
| #ifdef GL_ES
 | |
| 	varColor = inVertexColor.bgra;
 | |
| #else
 | |
| 	varColor = inVertexColor;
 | |
| #endif
 | |
| }
 |