I am writing a 2d game using LibGDX. The view to the game world is top-down. The game shows a grid of lines, which looks nice when the camera is at its initial position (0,0).
The problem is now that when I move (shift) the camera left/right/up/down this grid sometimes becomes a bit blurry, so the lines do not look perfectly sharp any more.
I assume this is because in these cases the grid lines are not exactly on screen pixels, but somewhere in between. Is this correct?
In any case: Are there any "best practices" how to address this problem (not necessarily LibGDX-specific)?