2D Toolkit Forum
2D Toolkit => Support => Topic started by: fattie on January 28, 2016, 04:50:22 pm
-
We have a project with "pixel-looking" images.
So, a 10x10 pixel png, when enlarged say 100 times, I just want each 100x100 block in the result to be a pure color ... so pure "point-filter" enlargement.
Indeed, Unity used to handle this very badly going back a couple years - it basically didn't work, it would "helpfully" smudge the enlargements.
Does anyone have any current experience with this? Does "true" pixel-wise enlargement work well these days? in the TK-Unity pipeline.
Thanks!
-
We found this now works BEAUTIFULLY in TK/Unity. Good one.
-
Hey fattie - haven't spoken in a long time!
This should work fine in 2D Toolkit using point filtering. The alternative is to render into a fixed size render target and then blowing that up - the advantage of that solution is you never get blown up texels that are clipped by 1 screen pixel, but it is a bit more work to set up and not as efficient.
-
Right, as I mention above these days it works beautifully in TK !
Yes, the advantage is enormous texture size saving - it's normal to blow up "pixel-art" these days to 16x or more physical pixels
Cheers!