9 Slice image gets pixelated
Hi, I am using 9 sliced images as button and panel image on my game. For desktop version it looks great. However on mobile the UI needs to get scaled to support high DPI screen and that is when my button and panel looks pixelated. Wherever I am not using 9 sliced images, I can fix this pixelation by providing a higher resolution image and scaling the image down on desktop gui. However for sliced images providing high res image is not possible since that will look way too big on desktop and low dpi devices.
What can I do to solve this issue? Thanks
Answer by BonyYousuf · May 18, 2016 at 02:17 PM
I actually found the solution to this already. All you need to do is make the image 2x in size and then in sprite property select "200" as value Pixel To Unit.
This has solved my problem.
WOW! you have no idea how good it was test this and seen it working!!!!!!!... i own you a beer dude!... Really thx.
Answer by u-i · May 18, 2016 at 02:14 PM
I'm having the same problem. THe only solution is to have a highres image and scaled down in unity as you said. But that brings a new problem, the scale on this objects with anchors mess up everything.
Your answer
Follow this Question
Related Questions
Assertion failed on expression: 'device.IsInsideFrame()' 1 Answer
shoot button and mouselook in sametime on mobile 0 Answers
How to move a GUI Element 1 Answer
problem with instantiated clones not running OnEnterTrigger / OnexitTrigger script? 0 Answers
Event.KeyCode not detecting mouse click 0 Answers