mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
a9ad1b09e2
Actual shaders still to be written.
15 lines
226 B
GLSL
15 lines
226 B
GLSL
#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
|
|
}
|