13 lines
248 B
GLSL
13 lines
248 B
GLSL
|
#version 120
|
||
|
|
||
|
attribute vec3 gpu_Vertex;
|
||
|
attribute vec4 gpu_Color;
|
||
|
uniform mat4 gpu_ModelViewProjectionMatrix;
|
||
|
|
||
|
varying vec4 color;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
color = gpu_Color;
|
||
|
gl_Position = gpu_ModelViewProjectionMatrix * vec4(gpu_Vertex, 1.0);
|
||
|
}
|