After upgrading three.js version from 127 to 128 i has performance issues. My scenes is rendered significantly slow. Also I use migration guide ( Migration Guide · mrdoob/three.js Wiki · GitHub ). Also I has GPUPickerHelper in my code. In guide i see that →
All central engine components like Object3D, BufferGeometry or ShaderMaterial are now ES6 classes.
This might impact your application if you derive custom classes from three.js classes via ES5 syntax. In this case, you have to upgrade your code to ES6 or transpile three.js to ES5.
Could you describe a bit more in detail what is in your scene? Also, did you check devtools console for any errors after the update? These may impact performance as exceptions pile up in requestAnimationFrame.
i can’t but i would carefully go through these and look if any of it concerns you. lots of people have reported performance problems after moving up to >128. if you have double sided, transparent, transmissive materials that’s probably the reason.
@donmccurdy yes we can continue discussion here. That numbers are same. In answers sent link where asked that problem in double creating of triangles i sent that number where triangles are not doubled but i have issue with performance after upgrade to r128.
@AdarkSt Try making all of your materials opaque (.transparent = false). I understand that might not look correct, but should tell you whether transparency is related to the performance problem.
I’m not sure what you are saying above, do you mean that you already tried making all materials opaque and the performance did not change?
We cannot see your scene, and there are hundreds of changes in any three.js release. There is not much point in trying to guess why performance is slower with a screenshot; these things can be measured if you are able to share a demo reproducing the difference.