11 lines
198 B
GLSL
11 lines
198 B
GLSL
#version 450
|
|
layout (location = 0) in vec3 iPos;
|
|
|
|
layout (location = 0) out vec4 vColor;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(iPos.x, iPos.y, iPos.z, 1.0);
|
|
vColor = vec4(1.0, 0.0, 0.0, 1.0);
|
|
}
|