the collision mask generator for sprite textures.