- Home /
How to get a clean/crisp raw image into a 4.6 canvas
I saved a 1920x1080 jpg image at max settings out of photoshop. Imported into Unity 4.6 as a raw image as a child of a canvas.The plan is to use the imported image as a background image to my UI. I set the raw image rez parameters to 1920x1080. Created a build set the player parameters to 1920x1080, full screen & Fantastic.
When the build fires up, the image is displayed at 1920x1080 as expected but is aliased like crazy and degraded a bunch. How do I get a background image for my 4.6 UI to be nice and clean so that it looks more like the original?
See if this helps
Canvas > Canvas component > check the "pixel perfect" box
Answer by Superrodan · Jan 21, 2015 at 06:46 AM
You may need to disable mip maps for the texture you are using. To do so, click the texture file itself in the editor, and uncheck "Generate Mip Maps" if it is checked.
Thank you!! You helped me trace the problem down! Just had to make a couple of adjustments (in the inspector) to the way texture map is being displayed and presto. Appreciate the help.
Answer by Bentoon · Jan 22, 2015 at 11:16 PM
This helps get clean textures:
1) In inspector under texture dropdown > Advanced
2) non power of 2 > None
3) Turn off 'generate mip maps'
4) set the resolution appropriately
Hope that helps
~be
Your answer
Follow this Question
Related Questions
How to render canvas with screen space - camera on top of canvas with screen space - overlay? 2 Answers
Is position used instead of pivot when anchors are different from the default? 0 Answers
Hidden Canvas, doesn't disable interaction with buttons. 1 Answer
UI element highlight OnPointerEnter effected by Hierarchy order of children? 1 Answer
Eventsystem requires window focus? 0 Answers