mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 03:39:14 +00:00
13 lines
280 B
GLSL
13 lines
280 B
GLSL
#version 120
|
|
|
|
uniform mat4 projectionMatrix;
|
|
varying vec2 diffuseMapUV;
|
|
|
|
#include "vertexcolors.glsl"
|
|
|
|
void main()
|
|
{
|
|
gl_Position = projectionMatrix * (gl_ModelViewMatrix * gl_Vertex);
|
|
diffuseMapUV = (gl_TextureMatrix[0] * gl_MultiTexCoord0).xy;
|
|
passColor = gl_Color;
|
|
} |