1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 20:53:52 +00:00
openmw/files/shaders/debug_vertex.glsl
2021-08-07 18:04:11 -07:00

12 lines
194 B
GLSL

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