mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-27 06:26:37 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			217 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			217 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #version 120
 | |
| 
 | |
| varying vec2 diffuseMapUV;
 | |
| varying vec4 passColor;
 | |
| 
 | |
| void main()
 | |
| {
 | |
|     gl_Position = vec4(gl_Vertex.xyz, 1.0);
 | |
|     diffuseMapUV = (gl_TextureMatrix[0] * gl_MultiTexCoord0).xy;
 | |
|     passColor = gl_Color;
 | |
| }
 |