1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-01 14:06:43 +00:00
openmw/files/shaders/debug_vertex.glsl
2021-08-04 17:39:11 -07:00

12 lines
185 B
GLSL

#version 120
uniform mat4 projectionMatrix;
varying vec4 passColor;
void main()
{
gl_Position = projectionMatrix * (gl_ModelViewMatrix * gl_Vertex);
passColor = gl_Color;
}