1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 03:19:44 +00:00
OpenMW/files/shaders/gui_vertex.glsl
2021-07-22 15:55:30 -07:00

12 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;
}