Page 1 of 1

SubViewport pixelates canvas items

Posted: Mon Sep 04, 2023 12:17 am
by YangTegap
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?