1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 13:53:51 +00:00
openmw-tes3mp/files/shaders/objects_vertex.glsl

15 lines
226 B
Text
Raw Normal View History

#version 120
#if @diffuseMap
varying vec2 diffuseMapUV;
#endif
void main(void)
{
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
#if @diffuseMap
diffuseMapUV = gl_MultiTexCoord@diffuseMapUV.xy;
#endif
}