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

Use Viewport's 3D Scaling in the 3D editor's Half Resolution option #93436

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Jun 21, 2024

This removes the reliance on Viewport shrinking, which fixes various bugs with mouse input handling in 3D gizmos or the GridMap editor.

This also makes Half Resolution make use of the current 3D scaling mode defined in the project setting (bilinear, FSR1 or FSR2).

When Half Resolution is checked, the Scaling 3D Scale value in the project settings is halved in the editor. To ensure the 3D view remains somewhat readable, the final value can't go below the minimum value allowed in the project settings, which is 0.25.

Note that Half Resolution will now look different than it does previously, as it no longer uses nearest-neighbor filtering. For nearest-neighbor filtering to be reimplemented as an option, #79731 needs to be merged.

3D scaling is supported in all rendering methods since 4.3, so this should be safe to cherry-pick for 4.3.

This removes the reliance on Viewport shrinking, which fixes various
bugs with mouse input handling in 3D gizmos or the GridMap editor.

This also makes Half Resolution make use of the current 3D scaling
mode defined in the project setting (bilinear, FSR1 or FSR2).

When Half Resolution is checked, the Scaling 3D Scale value in the
project settings is halved in the editor. To ensure the 3D view
remaisn somewhat readable, the final value can't go below
the minimum value allowed in the project settings, which is 0.25.
@Calinou Calinou requested a review from a team as a code owner June 21, 2024 16:37
@Calinou Calinou added this to the 4.3 milestone Jun 21, 2024
@clayjohn clayjohn modified the milestones: 4.3, 4.4 Jun 25, 2024
@Calinou Calinou added the cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release topic:editor topic:rendering topic:3d
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't edit CollisionShape3D with Half Resolution Incorrect GridMap cursor offset in 3D Half Resolution view
2 participants