Fixed an issue with SSAO normal.vert throwing an error when using instancing.

cleanup_build_scripts
Daniel Johansson 9 years ago
parent 763763503b
commit 93ac80d44f
  1. 2
      jme3-effects/src/main/resources/Common/MatDefs/SSAO/normal.vert

@ -20,5 +20,5 @@ void main(void)
Skinning_Compute(modelSpacePos,modelSpaceNormals); Skinning_Compute(modelSpacePos,modelSpaceNormals);
#endif #endif
normal = normalize(g_NormalMatrix * modelSpaceNormals); normal = normalize(g_NormalMatrix * modelSpaceNormals);
gl_Position = g_WorldViewProjectionMatrix * modelSpacePos; gl_Position = TransformWorldViewProjection(modelSpacePos);
} }
Loading…
Cancel
Save