Added gl_PerVertex output blocks

This commit is contained in:
saschawillems 2016-05-18 18:55:58 +02:00
parent 2906df5308
commit d3f5b81a66
9 changed files with 15 additions and 0 deletions

View file

@ -21,6 +21,11 @@ layout (location = 2) out float outVisible;
layout (location = 3) out vec3 outViewVec;
layout (location = 4) out vec3 outLightVec;
out gl_PerVertex
{
vec4 gl_Position;
};
void main()
{
outNormal = inNormal;