Add a helper function to copy a texture to another one

We currently have BABYLON.CopyTextureToTexture which can only copy a whole texture to another one.

We should add a function that can copy a smaller texture to some (x,y) offset in the target texture.

*Ported from GitHub

1 Like