I have the following png:
![]()
I want to load this texture and then create multiple SpriteMaterials by choosing subparts of the image. For example, the head would be from [0, 0] to [x, y].
I have the following code currently:
const map = new TextureLoader().load('url');
const material = new SpriteMaterial({ map: map })