mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			184 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			184 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
varying lowp vec4 varColor;
 | 
						|
 | 
						|
void main(void)
 | 
						|
{
 | 
						|
	gl_Position = mWorldViewProj * inVertexPosition;
 | 
						|
#ifdef GL_ES
 | 
						|
	varColor = inVertexColor.bgra;
 | 
						|
#else
 | 
						|
	varColor = inVertexColor;
 | 
						|
#endif
 | 
						|
}
 |