So, your solution does work but for some reason you need to let the system be ready before doing the texture update:
https://playground.babylonjs.com/#YEHTQ5#7
And for 5.0:
So, your solution does work but for some reason you need to let the system be ready before doing the texture update:
https://playground.babylonjs.com/#YEHTQ5#7
And for 5.0: