Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3d viewport getting shrinked when i try to use in my old project #1

Open
lucasthomaz97 opened this issue Jan 29, 2022 · 5 comments
Open

Comments

@lucasthomaz97
Copy link

version: Godot 3.4
when using the superscaling
Cheesewald Gormet Adventures (DEBUG) 28_01_2022 22_17_25

correct proportion (without the superscaling):
Cheesewald Gormet Adventures (DEBUG) 28_01_2022 22_17_39
4

my configurations
Menu tscn - Cheesewald Gormet Adventures - Godot Engine 28_01_2022 22_19_29
:

@cybereality
Copy link
Owner

Sorry for the delay, I just saw the notification. First make sure that your Project Settings Window Stretch Mode is on Disabled and Aspect on Ignore. Also, did you download from Github or the Asset Library? The Github is more recently updated, so you should try to download that.

https://github.com/cybereality/godot-super-scaling/releases/tag/v1.2.0

Other than that I'm not sure cause I can't reproduce on my end with my test projects. If those steps above don't solve the issue, maybe send me a minimum reproduction project and I can investigate.

@lucasthomaz97
Copy link
Author

i downloaded it from the github link, it's the recent build, all my ui depends on stretch mode viewport and aspect expand to work nicely.
here goes the link from the project:
https://github.com/lucasthomaz97/Cheesewald-Gourmet-Adventures

@cybereality
Copy link
Owner

Okay, I will take a look today. It believe it should be fixable, but let me investigate.

@cybereality
Copy link
Owner

So I got it to work, but it requires changes to the settings.

cheesewald

Basically, you cannot use Viewport scaling or Test Width/Height. As this uses the internal Godot scaler, which conflicts with my scaler. The image has to be at native resolution (not scaled) for my algorithm to function. The changes required are setting Stretch Mode to Disabled, Aspect to Ignore, and setting Test Width/Height to 0/0. This will display a 1080p window with everything working, as shown in the above image.

@lucasthomaz97
Copy link
Author

nice! in this print the rendering got pretty pixelated... the filters solve it?
i tried again in a fully test scene, but it don't appear as a selectable node or in the plugins screen, what happened?
image
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants