How does camera zoom affect image quality?

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

How does camera zoom affect image quality?

Scaling down with mipmaps results in ‘some’ quality loss.

How does camera zooming out handle this? Is the ultimate effect the same?

:bust_in_silhouette: Reply From: aXu_AP

Scaling or zooming shouldn’t affect image quality. They’re the same. Of course, they are within limits of texture resolution plus compression, mip maps and filtering, which you can change from the import tab (in 4.0 filtering can be enabled/disabled from project settings/rendering/textures or per node).

If you have pixel art, turn filtering off to get crisp image at any scale. Other than that, Godot usually picks best options for you. Read more from the docs.

If you’re having suboptimal image quality, please add some pics and explain the problem further.

I was mainly asking if scaling and zoom on the camera are inherently the same. Seems like they are.

I was trying to wrap my head around the limits of compression and filtering, as my original character is scaled down, and the camera is zoomed as well.

Even with very little to zero loss, this causes some issues. The solution was to mess around with the compression settings and use ‘Linear Mipmap’ for filtering. Also to try and scale as little as possible.

lakshaya | 2022-09-17 16:01