@@ -1063,6 +1063,7 @@ var BABYLON;
// Viewport
engine.setViewport(this.activeCamera.viewport);
// Camera
+ this.resetCachedMaterial();
this._renderId++;
this.updateTransformMatrix();
if (this.beforeCameraRender) {
@@ -1371,6 +1371,7 @@
@@ -13067,6 +13067,7 @@ var BABYLON;