Enabled text overlay, code cleanup, refactoring, gl_PerVertex output for shaders

This commit is contained in:
saschawillems 2016-05-31 20:07:43 +02:00
parent 89fa6594c1
commit 886abea862
10 changed files with 120 additions and 187 deletions

View file

@ -22,6 +22,11 @@ layout (location = 3) out vec3 outLightVec;
layout (location = 4) out vec3 outWorldPos;
layout (location = 5) out vec3 outLightPos;
out gl_PerVertex
{
vec4 gl_Position;
};
void main()
{
outColor = inColor;