+2 votes

I'm encountering problems inadding a second viewport to render my game in: I've been using 2D stretch mode so far, and had no problems whatsoever, but since I added a second viewport "layer" (for postprocessing shaders) a lot of things broke.

Some info on the settings: I'm using a window size of 1920 x 1080 on a 2k monitor specifically to catch "odd pixel issues", which I had when using viewport stretch mode and were solved by switching to 2D.

I'm getting weird scaling artifacts, quite evident on my pixel art, and the game behaves like it's using only 2/3 of the screen, offsetting the detected mouse position and stuff. I think that the scaling artifacts are due to the same problem.

In short, could someone help me to make this second viewport management as transparent as possible, and make it behave like the 2D stretch mode?

in Engine by (24 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 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.