How to have different viewport size for each scene

Hello
I’m trying to have different viewport size for different scenes, my main scene is 640x360 I need this as the art is adapted for this resolution, but for my level scene I would like a higher viewport size to have larger levels for example 800x400, how can I achieve this? I have tried with subviewport, with it i have render issues, tried Camera2d, I get blurry pixel. Could someone please point on how to achieve different viewport size for different scenes? Thank you

Have you tried changing the zoom level of the Camera2D instead?

Yes, I tried that. It creates blured textures, I tried changing the zoom to 0.5 and 0.2, 1.5 it creates artifacts such as very blured textures. Tried also with viewports but it just cuts the level viewport for example if I have 640×360 it just shows half of it, I overrided the values but they do not have an impact tried to set to 800×400, it just shows the current viewport of size 640×360.

It’s probably how you’re importing the images then. Go to Project Settings → Rendering → Textures → Default Texture Filter and try changing it from Linear to Nearest and see if that solves your problem.

All my assets have Nearest filter set to have that crisp look :slight_smile:
That’s why it causes issues and confusion for me, as I do not understand how to change the viewport dynamically based on scene which is being used, as it does not look as a difficult process, but under the hood understandably can have more to it

What kind of compression are you using on them when you import them?