pioneers/shaders/vertex.shader

18 lines
248 B
Plaintext
Raw Normal View History

2014-01-21 15:18:48 +00:00
#version 400
//vertex-data
2014-01-21 15:18:48 +00:00
in vec4 Color;
in vec3 Position;
in vec3 Normal;
//output-data for later stages
2014-01-21 15:18:48 +00:00
out vec4 vColor;
out vec3 vPosition;
out vec3 vNormal;
void main()
{
2014-01-21 15:18:48 +00:00
vPosition = Position;
vNormal = Normal;
vColor = Color;
}