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

The size of 3D gizmo resize handles is resolution-dependent #90843

Open
passivestar opened this issue Apr 18, 2024 · 1 comment
Open

The size of 3D gizmo resize handles is resolution-dependent #90843

passivestar opened this issue Apr 18, 2024 · 1 comment

Comments

@passivestar
Copy link
Contributor

Tested versions

v4.3.dev.custom_build [658e97c]

System information

Godot v4.3.dev (658e97c) - macOS 14.4.0 - Vulkan (Forward+) - integrated Apple M1 Max - Apple M1 Max (10 Threads)

Issue description

Their size changes with viewport resolution

gizmo

Steps to reproduce

Toggle Half Resolution

Minimal reproduction project (MRP)

N/A

@Calinou
Copy link
Member

Calinou commented Apr 18, 2024

This is the same reason why #14727 occurs in 3.x.

I think handles are drawn using point rendering (as opposed to billboarded quad rendering), which is why they're resolution-dependent. This is partly expected (you don't want them to grow larger when the viewport is resized), but we should ensure the point size is halved in the material handle when Half Resolution is enabled (or when the Scaling 3D > Scale project setting is changed).

This is also a good opportunity to scale handles according to editor scale if we're not doing that already.

@Calinou Calinou changed the title The size of 3d gizmo resize handles is resolution-dependent The size of 3D gizmo resize handles is resolution-dependent Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants