mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 12:26:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			206 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			206 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
#version 430 core
 | 
						|
 | 
						|
layout(location = 0) out vec4 Color;
 | 
						|
 | 
						|
layout(location = 0) uniform sampler2D diffuseMap;
 | 
						|
 | 
						|
in vec4 passColor;
 | 
						|
in vec2 uv;
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
    Color = texture(diffuseMap, uv) * passColor;
 | 
						|
}
 |