Hi,
I'd like to extract only the pixel informations used by the current sprite.
The idea would be to analyze colors used by a sprite, and loop through its pixels.
Unfortunately renderer.material.mainTexture returns only the atlas (1024x1024) for my 27x27 texture. GetPixels an iterating through all pixels of the atlas could be overkill. Is there a bettre way?
Thank you.