2014-03-17 16:04:30 +00:00
|
|
|
#version 330
|
2014-01-02 02:35:38 +00:00
|
|
|
|
2014-01-03 02:01:54 +00:00
|
|
|
//vertex-data
|
2014-01-21 15:18:48 +00:00
|
|
|
in vec4 Color;
|
|
|
|
in vec3 Position;
|
|
|
|
in vec3 Normal;
|
2014-01-02 02:35:38 +00:00
|
|
|
|
2014-01-03 02:01:54 +00:00
|
|
|
//output-data for later stages
|
2014-01-21 15:18:48 +00:00
|
|
|
out vec4 vColor;
|
|
|
|
out vec3 vPosition;
|
|
|
|
out vec3 vNormal;
|
2014-01-02 02:35:38 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2014-01-21 15:18:48 +00:00
|
|
|
vPosition = Position;
|
|
|
|
vNormal = Normal;
|
|
|
|
vColor = Color;
|
2014-01-02 02:35:38 +00:00
|
|
|
}
|