pioneers/shaders/map/vertex.shader

18 lines
248 B
Plaintext
Raw Permalink Normal View History

#version 330
//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;
}