18 lines
248 B
GLSL
18 lines
248 B
GLSL
#version 400
|
|
|
|
//vertex-data
|
|
in vec4 Color;
|
|
in vec3 Position;
|
|
in vec3 Normal;
|
|
|
|
//output-data for later stages
|
|
out vec4 vColor;
|
|
out vec3 vPosition;
|
|
out vec3 vNormal;
|
|
|
|
void main()
|
|
{
|
|
vPosition = Position;
|
|
vNormal = Normal;
|
|
vColor = Color;
|
|
} |