0 votes

Kind of new to godot, transitioning from unity.

I set up my scene like described
here: and am using two shader passes (both canvasitems) to create the finial image.
The first is generating the image and is using SCREEN
PIXEL_SIZE so that it dosn't stratch when the aspect ratio changes.

In the second i wanted to write a custom AA solution but when i just read the texture and display it its all pixelated.

I dont understand how the ViewportContainer size parameters function.
When i only had one i had to set it to x = 667 and y = 117.

I just want the size of both viwports to be the screen size.
In Project settings i set the window parameters to:
width = 1920
height = 1080
stretch/mode = 2d
aspect = ignore

in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.