Fix normal matrix;
Now that lighting is in world space.
@@ -11,7 +11,7 @@ const char* lovrShaderVertexPrefix = ""
"#ifdef FLAG_uniformScale \n"
"#define lovrNormalMatrix mat3(lovrModel) \n"
"#else \n"
-"#define lovrNormalMatrix mat3(transpose(inverse(lovrTransform))) \n"
+"#define lovrNormalMatrix mat3(transpose(inverse(lovrModel))) \n"
"#endif \n"
"#define lovrInstanceID (gl_InstanceID / lovrViewportCount) \n"
"#define lovrPoseMatrix ("
