11 lines
191 B
GLSL
11 lines
191 B
GLSL
|
#version 330
|
||
|
|
||
|
layout (location = 0) in vec3 in_position;
|
||
|
layout (location = 1) in vec4 in_color;
|
||
|
|
||
|
out vec4 color;
|
||
|
|
||
|
void main(void){
|
||
|
color = in_color;
|
||
|
gl_Position = ftransform();
|
||
|
}
|