scummvm/engines/sludge/color.vert

14 lines
174 B
GLSL

attribute vec4 myVertex;
uniform mat4 myPMVMatrix;
uniform vec4 myColor;
varying vec4 color;
void main(void)
{
gl_Position = myPMVMatrix * myVertex;
color = myColor;
}