15 lines
195 B
GLSL
15 lines
195 B
GLSL
#version 120
|
|
|
|
uniform float time;
|
|
|
|
attribute vec3 position;
|
|
attribute vec3 color;
|
|
|
|
//varying vec3 color_out;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(position, 1);
|
|
gl_FrontColor = vec4(color, 1);
|
|
}
|