SubViewport pixelates canvas items

Post any engine-related development questions or issues you are having to receive advice, support, or help.
Post Reply
YangTegap
Posts: 2
Joined: Fri Aug 18, 2023 3:16 am

I'm using Godot 4.1. I have a low-res pixel game with high-res text. To view the text in high-res, I have set the project stretch mode to canvas_items. This works great, but it doesn't make any difference as soon as I use a SubViewport... I have the SubVieport's Canvas Items Texture Filter set to "Nearest," this makes the pixels crisp rather than blurry, but the text is now downsized to the viewport's low resolution. I need the text to be on the scene as it's purpose is to indicate what pickup the player just obtained. But despite it being on a canvas layer, being under the SubViewport breaks the resolution. How can I work around this?

Tags:
Post Reply