Added gl_PerVertex outputs

This commit is contained in:
saschawillems 2016-05-14 21:23:09 +02:00
parent 7087d7d14e
commit fb053a5011
13 changed files with 26 additions and 0 deletions

View file

@ -27,6 +27,11 @@ layout (location = 2) out vec2 outUV;
layout (location = 3) out vec3 outViewVec;
layout (location = 4) out vec3 outLightVec;
out gl_PerVertex
{
vec4 gl_Position;
};
void main()
{
mat4 boneTransform = ubo.bones[inBoneIDs[0]] * inBoneWeights[0];