Hello,
I've been trying to apply viewport scaling to a 2D scene to achieve supersampling (which I want to use as antialiasing, I made some posts on that topic previously). I started from this demo: https://godotengine.org/asset-library/asset/586
and while it seems to work fine for 3D, I can't find a way to apply it to 2D. As soon the viewport scale change, 2D object move and around - so instead of rendering the viewport at desired scale and then rescale to the main viewport size (thats how I understand it should work) it just resizes the viewport and renders as-is.
How can I get it to work like the 3D one?
Or, if someone has any other idea how to make a rectangular Polygon2D able to rotate and not have jagged edges that works on all platforms, I'd be incredible grateful if you would share it. The filtering texture method thats in the docs doesnt work for me as I need all sides of it to be filtered. I've spend several weeks now on this and I'm starting to consider throwing months of work away and start again in a different engine just because of this... It's vital for my game but I just can't get it to work, and apart from that I really like Godot and the way it works.