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

Rendering issues with firefox #34

Closed
Lectem opened this issue Sep 2, 2017 · 2 comments
Closed

Rendering issues with firefox #34

Lectem opened this issue Sep 2, 2017 · 2 comments

Comments

@Lectem
Copy link

Lectem commented Sep 2, 2017

I am not sure if this is an issue with magnum itself or with firefox (perhaps webgl2 only?), but the model viewer seems to have some depth issues. It does not happen with Edge on the same computer.

Here are the webgl reports:

Firefox

image

Webgl 1

Platform: Win32
Browser User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
Context Name: webgl
GL Version: WebGL 1.0
Shading Language Version: WebGL GLSL ES 1.0
Vendor: Mozilla
Renderer: Mozilla
Unmasked Vendor: Google Inc.
Unmasked Renderer: ANGLE (Intel(R) HD Graphics 4600 Direct3D11 vs_5_0 ps_5_0)
Antialiasing: Available
ANGLE: Yes, D3D11
Major Performance Caveat: No

Webgl 2

Platform: Win32
Browser User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
Context Name: webgl2
GL Version: WebGL 2.0
Shading Language Version: WebGL GLSL ES 3.00
Vendor: Mozilla
Renderer: Mozilla
Unmasked Vendor: Google Inc.
Unmasked Renderer: ANGLE (Intel(R) HD Graphics 4600 Direct3D11 vs_5_0 ps_5_0)
Antialiasing: Available
ANGLE: Yes, D3D11
Major Performance Caveat: No

Edge

image

Platform: Win32
Browser User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063
Context Name: experimental-webgl
GL Version: WebGL 1.0
Shading Language Version: WebGL GLSL ES 1.0
Vendor: Microsoft
Renderer: Microsoft Edge
Unmasked Vendor: Microsoft
Unmasked Renderer: Intel(R) HD Graphics 4600
Antialiasing: Available
ANGLE: No
Major Performance Caveat: No

No webgl2 support

@Lectem
Copy link
Author

Lectem commented Sep 2, 2017

Just saw that the depth buffer had only 16bits precisions for firefox, this could be the reason for this issue... Full report here :

Firefox

image

Edge

image

@mosra
Copy link
Owner

mosra commented Dec 16, 2017

Fixed in f579bef, thanks for all the help on Gitter.

Just for the record: was a depth buffer issue, 16bit not being enough for the crazy depth range in the projection matrix, reducing that range made it work.

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

No branches or pull requests

2 participants