textures to sprites