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 handles get smaller when MSAA 16x is enabled (3.x only) #14727

Open
djrm opened this issue Dec 16, 2017 · 5 comments
Open

3D handles get smaller when MSAA 16x is enabled (3.x only) #14727

djrm opened this issue Dec 16, 2017 · 5 comments

Comments

@djrm
Copy link
Contributor

djrm commented Dec 16, 2017

Operating system or device, Godot version, GPU Model and driver (if graphics related):
master bca97e3, Linux 64, Nvidia prorietary divers 387.34

Issue description:

Enabling MSAA 16x makes the editor 3D handles very tiny, it only happens when the level is 16

MSAA 16x
screenshot from 2017-12-16 00-29-17

not MSAA 16x
screenshot from 2017-12-16 00-29-02

Steps to reproduce:

Link to minimal example project:

@kubecz3k kubecz3k added this to the 3.0 milestone Dec 16, 2017
@bojidar-bg
Copy link
Contributor

Maybe this is related to the maximum point size on the GPU?

@akien-mga
Copy link
Member

We have now entered release freeze for Godot 3.0 and want to focus only on release critical issues for that milestone. Therefore, we're moving this issue to the 3.1 milestone, though a fix may be made available for a 3.0.x maintenance release after it has been tested in the master branch during 3.1 development. If you consider that this issue is critical enough to warrant blocking the 3.0 release until fixed, please comment so that we can assess it more in-depth.

@akien-mga akien-mga modified the milestones: 3.0, 3.1 Jan 5, 2018
@reduz
Copy link
Member

reduz commented Sep 6, 2018

This sounds like a driver bug to me, is it really expected to work like this?

@Calinou
Copy link
Member

Calinou commented Sep 6, 2018

I can confirm this on commit 39e8aca, on NVIDIA 396.45 on Linux.

16× MSAA:

image

8× MSAA:

image

@akien-mga akien-mga modified the milestones: 3.1, 3.2 Jan 19, 2019
@akien-mga akien-mga removed this from the 3.2 milestone Nov 26, 2019
@Calinou
Copy link
Member

Calinou commented Apr 15, 2020

After fiddling around in nvidia-settings, I can see one possible reason for this. It seems the NVIDIA driver doesn't actually do 16× MSAA, but will rather combine SSAA and MSAA behind the scenes. This would effectively result in billboarded elements getting smaller due to the higher viewport resolution.
The joys of high-level antialiasing APIs, I guess 😉

In nvidia-settings, you can force either:

  • 2× MSAA
  • 4× MSAA
  • 4× SSAA + 2× MSAA (= 8× AA)
  • 8× MSAA
  • 4× SSAA + 4× MSAA (= 16× AA)

But there's no 16× MSAA option.

image

image

Note that the available MSAA overrides will depend on your GPU (I'm using a GeForce GTX 1080).

I haven't tested 16× MSAA in the Vulkan renderer as it causes Godot to freeze and not render anything (#37917).

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

7 participants