Thursday, November 24, 2022
HomeGame Developmentunity - Sprite with onerous transition from opaque to clear reveals translucent...

unity – Sprite with onerous transition from opaque to clear reveals translucent pixels in Sprite Editor


You’ve got set the “Max Measurement” for this texture within the import settings to 2048, and requested Unity to routinely resize the picture utilizing the Mitchell algorithm if it is bigger than this:

Import settings showing max size

However your sprite editor reveals that you’ve a sprite at a place some 500 pixels previous this most cutoff, out round 2560 pixels from the far edge:

Sprite editor showing sprite farther than 2048 from origin

So it seems to be like your picture is bigger than the max measurement you have requested for. Meaning Unity will do precisely what you advised it you needed: downsample the picture to 2048×2048 utilizing the Mitchell algorithm, which incorporates mixing adjoining pixels, creating partial translucency.

To repair this, writer your sprites inside your max measurement funds in order that Unity doesn’t must scale them down, or improve the max measurement setting you are utilizing on import in order that it accommodates the picture’s authored measurement.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments