I was using a TransformBitmapMaterial like so:
mat = new TransformBitmapMaterial(new baseMap());
and was able to update the bitmapData in real time using something like:
mat.bitmap = appliedMap;
I decided to try a phong material and simply did:
mat = new PhongBitmapMaterial(new baseMap());
It works except setting mat.bitmap no longer does anything. Also tried with EnviroBitmapMaterial and the same thing - the bitmap doesn’t update when I set the bitmap property later.
What am I doing wrong?