r/Unity2D • u/AlphaJackonYT • 6d ago
Question/Help CineMachine Camera: Screen Tear
So I have a CineMachine camera to follow the player as they move, I have a Sprite Atlas and I passed in the tilemap and the animation folder containing my player animations in to the Objects for Packing section. It has fixed most of the tear but there is still a tiny bit left and I don't know what else I can do to get rid of it:
The Spriteatlas has filter mode set to point and has no compression. Many Thanks!
2
Upvotes
•
u/AutoModerator 6d ago
Reminder: Once your issue has been resolved, please reply !solved to this comment (or comment it anywhere in the thread) and your post's flair will automatically be updated to Solved/Answered. You can also edit it to Solved/Answered yourself.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Federal-Row2373 5d ago
If the leftover lines show up between tiles while the camera moves, I'd look at the atlas padding next. Bumping it to 4 or 8 and turning off Tight Packing and Allow Rotation usually removes the bleeding from neighboring sprites. The other common cause is the camera landing on sub-pixel positions, which a Pixel Perfect Camera plus the CinemachinePixelPerfect extension is meant to fix. Are you using Pixel Perfect at the moment, or just a regular orthographic camera?