I have a problem rendering my pixel art sprites properly in Unity. So far I have one character in a sprite-sheet I made, with frames of size 64x64. The actual sprite is roughly 32x32 but I left room for movement in animations. I import the sheet following pixel perfection procedures I found on the internet using these settings:
As for the orthographic camera I set its size using this formula:
orthoCameraSize = screenHeight / (2 * 32)
If I zoom on the sprite in scene it looks fine but when in game it gets rendered quite poorly (in game / in scene pics below):
What could be the source of the problem? I applied every good practice advice I could find on the web... Thanks for your help!!!!
orthoCameraSize = screenHeight / (2 * 32)
automatically from a script or do you calculate the value manually? When it's the first I might know what your mistake could be. – Philipp Jul 14 '16 at 13:33screensize / 2 / 100
. pages 100-102 if you look inside the book: https://www.amazon.com/Unity-Action-Multiplatform-Game-Development/dp/161729232X/ref=sr_1_1?s=books&ie=UTF8&qid=1468615723&sr=1-1&keywords=unity – ps2goat Jul 15 '16 at 20:52