mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-24 22:26:37 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			194 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			194 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #version 120
 | |
| 
 | |
| uniform mat4 projectionMatrix;
 | |
| 
 | |
| centroid varying vec4 passColor;
 | |
| 
 | |
| void main()
 | |
| {
 | |
|     gl_Position = projectionMatrix * (gl_ModelViewMatrix * gl_Vertex);
 | |
| 
 | |
|     passColor = gl_Color;
 | |
| }
 |