mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 15:49:56 +00:00
17 lines
275 B
GLSL
17 lines
275 B
GLSL
#version 120
|
|
|
|
#if @diffuseMap
|
|
varying vec2 diffuseMapUV;
|
|
#endif
|
|
|
|
varying float depth;
|
|
|
|
void main(void)
|
|
{
|
|
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
|
|
depth = gl_Position.z;
|
|
|
|
#if @diffuseMap
|
|
diffuseMapUV = gl_MultiTexCoord@diffuseMapUV.xy;
|
|
#endif
|
|
}
|