can you update this lib for new three after 118?
First thank you very much, this rstats is so good to help performance.
it works very well untill three 0.117

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

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.
Is the change to webGL 2 in three v118?
On Mon, Aug 3, 2020 at 5:27 PM Jaume Sanchez [email protected] wrote:
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.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/spite/rstats/issues/26#issuecomment-668271792, or unsubscribe https://github.com/notifications/unsubscribe-auth/AELXOMCXCKNOFXUCHFYE75LR642URANCNFSM4OORVUMQ .
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."
Awesome, thanks for this link
On Mon, Aug 3, 2020 at 7:46 PM Jaume Sanchez [email protected] wrote:
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."
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/spite/rstats/issues/26#issuecomment-668310437, or unsubscribe https://github.com/notifications/unsubscribe-auth/AELXOMBYRPYRQFXUOIDHJLTR65K6NANCNFSM4OORVUMQ .