rstats icon indicating copy to clipboard operation
rstats copied to clipboard

can you update this lib for new three after 118?

Open x1911 opened this issue 5 years ago • 4 comments

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

x1911 avatar Jul 02 '20 06:07 x1911

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 avatar Aug 03 '20 22:08 spite

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 .

hayden2114 avatar Aug 03 '20 23:08 hayden2114

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."

spite avatar Aug 04 '20 00:08 spite

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 .

hayden2114 avatar Aug 04 '20 03:08 hayden2114