11 lines
150 B
GLSL
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;
|
|
}
|