(2D) Is it possible to move a camera for less than one pixel while zoomed?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DawidM

Hello, I’m creating a pixel perfect game, but want my camera movement to be smooth intead of jumping by one in-game pixel. The only solution I found is to use “2d” in Window/Stretch/Mode but it causes problems when you zoom the camera for pixel perfect game and also it is not working when using many viewports and cameras; camera in a viewport will always jump by one in-game pixel no matter what Stretch mode is used.

Is there any natural solution to that?

I myself came to one: scale everything up for example by 10x and manually care about sprite positioning to large pixels, and it would give me ten more steps between pixels for camera movement. But I hope there is a better solution to that problem.