- Home /
Orthographic Camera is distorting my sprites?
Alright, so I am using a sprite with the new 2D system and it looks fine in the Scene: http://imgur.com/6DLr9Kv
However, when I go into game view, there is some strange distortion: http://imgur.com/1IpnyqI
Is there a way to prevent the camera from causing these distortions via code or some setting? The distortions only affect the sprites in lines and the lines of distortion seem to be static on the screen and equally spaced.
Edit: Update for side-by-side and clarification: http://imgur.com/XaxbcK5
A side by side might help. I dont see much difference besides the size.
I'm having a similar issue. The guides i've read say that there's a lot of factors that can prevent "pixel perfect" 2D. All my settings look right and I still have the issue too though... I'd suggest trying different ViewPort configurations (via code, since the inspector options are very limited).
Thanks for the advice, I'll let you know if anything works.
Answer by Togglesworlh · Nov 17, 2013 at 06:38 AM
This is just kind of a sanity check, because I saw something similar before realizing what was happening: is the game view actually large enough to hold the full resolution of your game? It might be squishing the viewport, which could cause that sort of effect.
Just in case! :D
Yep, this is it. On certain resolutions and in the game view the sprites are stretched. I guess I'll just have to limit the player to certain resolutions that work for now. Thanks!
Answer by kyin42 · Nov 16, 2013 at 11:22 PM
try changing the import option for filter mode to point
I already had it set on point to prevent anti-aliasing.
I've been trying to reproduce your problem. The only other thing that distorts the image that I have found is the max size option below the normal options.
Your answer
Follow this Question
Related Questions
Weird sprite distortion during slow movement 0 Answers
Resizing orthographic camera to fit 2d sprite on screen 1 Answer
Rotating Sprite Stretching Object 1 Answer
Sprite frame by frame rotation 1 Answer
Sprite.Create is not working 1 Answer