@babylonjs/core 5.0.2 → 5.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1070,6 +1070,9 @@ var PBRBaseMaterial = /** @class */ (function (_super) {
1070
1070
  if (defines.VERTEXCOLOR) {
1071
1071
  attribs.push(VertexBuffer.ColorKind);
1072
1072
  }
1073
+ if (defines.INSTANCESCOLOR) {
1074
+ attribs.push(VertexBuffer.ColorInstanceKind);
1075
+ }
1073
1076
  MaterialHelper.PrepareAttributesForBones(attribs, mesh, defines, fallbacks);
1074
1077
  MaterialHelper.PrepareAttributesForInstances(attribs, defines);
1075
1078
  MaterialHelper.PrepareAttributesForMorphTargets(attribs, mesh, defines);