When the pbr material was introduced someone forgot to keep the instancing in mind which uses : ViewProjectionMatrix ViewMatrix I added these.
@@ -118,6 +118,8 @@ MaterialDef PBR Lighting {
WorldViewProjectionMatrix
CameraPosition
WorldMatrix
+ ViewProjectionMatrix
+ ViewMatrix
}
Defines {