0 votes

So as I spend time searching. To make pixel perfect scene. It's simple.
Get the size of canvas you need give it pixel snap.
Set how to scale properrly so you don't have glitches with it.
All right.

But I need separately one part of the game to be pixel perfect.
And layer over it HD resolution sprites. How am I supposed to do this?
Is there something like I would just use camera for smaller scene and rendered it and scaled onto whole canvas?

I tried to do this with pixelation shader. It works... but. It is as the shader name.
It just pixelates. I can get unpixelated nodes over it. But under it it's still just blured pixel image.
Not pixel perfect pixel snap. If it was somehow possible. For me it would be best to do it by some shader. As it then would keep smooth light still smooth. Just converted to pixels. But I have no ide how to make shader on my own.

in Engine by (12 points)

1 Answer

0 votes

I think looking into Viewports will fix your issue. The pixel-perfect scene will be in its own viewport.

by (7,769 points)
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.