I’m just not seeing how to do it. I tried using DynamicTexture and the context to draw but I’m not having any luck for some reason.
You can use the BABYLON.CopyTextureToTexture helper class to copy one texture to another.
It doesn’t seem to have a dest x,y parameter.
No, it copies the whole texture to another one.
We don’t have an helper to copy a smaller texture to a bigger one by providing target x/y offsets.
Maybe that’s something we should add @sebavan ?
sounds like a nice addition indeed.
3 Likes