This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
csce441pine64backup/L12/resources/simple_vert.glsl
2017-04-10 17:50:27 -05:00

11 lines
150 B
GLSL

#version 120
uniform mat4 P;
uniform mat4 MV;
varying vec3 fragColor;
void main()
{
gl_Position = P * MV * gl_Vertex;
fragColor = gl_Color.rgb;
}