The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

+1 vote

I currently have a setup where i draw 2 little gradient balls, one is in the root of the game, and the other one is within a Viewport node.

I use a sprite node to render the Viewport texture, but this is the final result:

enter image description here

The red ball is the one inside the Viewport, and the Blue one is outside

is there any configuration i forgot to make when using Viewports?

Thanks in advance!

EDIT: I have already changed the viewport Size, but that doesn't affect the overall result

in Engine by (15 points)
edited by

You may bee seeing this bug.

1 Answer

0 votes

Maybe that Msaa setting under 'Rendering' on the right side of your screen-shot?

by (254 points)

MSAA in Godot doesn't affect 2D rendering. Also, the rendered image is clearly pixelated here, so I guess the viewport was upscaled somehow (if you want to keep it crisp, its scale shouldn't be changed).

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 Frequently asked questions and 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 [email protected] with your username.