Split a texture into chunks without using UVs?

Hi everybody,

is it possible to split the image of a texture into chunks without using the UVs but “physically” cutting the image into smaller ones? for example a 512x512 into 4 256x256 images to use in different textures where I want to animate the UVs?

A way that comes to my mind is to use the clipping parameters of the drawImage() method and draw the image on a dynamically created canvas that I can later use as a new texture, but it sounds heavy and complex. Maybe there’s a better way to do it directly in Babylon?


No, I don’t see another way than creating 4 textures and blitting in each one the bits of the image you want…

Thanks as usual Evgeni!