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

can you update this lib for new three after 118? #26

Open
x1911 opened this issue Jul 2, 2020 · 4 comments
Open

can you update this lib for new three after 118? #26

x1911 opened this issue Jul 2, 2020 · 4 comments
Assignees

Comments

@x1911
Copy link

x1911 commented Jul 2, 2020

First thank you very much, this rstats is so good to help performance.

it works very well untill three 0.117
image

but after the new version three.js 118, it dosent show the webgl infomation
image

@spite
Copy link
Owner

spite commented Aug 3, 2020

It´s not a bug really. Three.js now uses WebGL2 by default, and rStats doesn´t instrument the WebGL2 rendering context.
I'll have to update the code.

@spite spite self-assigned this Aug 3, 2020
@hayden2114
Copy link

hayden2114 commented Aug 3, 2020 via email

@spite
Copy link
Owner

spite commented Aug 4, 2020

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r117--r118

"WebGLRenderer automatically creates a WebGL 2 rendering context now (and fallbacks to WebGL 1 if necessary). If your project can only use WebGL 1, you can use WebGL1Renderer."

@hayden2114
Copy link

hayden2114 commented Aug 4, 2020 via email

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