I made a production build with a scene, then made a simple server with express.js for uploading the project, but when run locally and open it in a browser the performance is significantly reduced, I’m talking about maybe 2 to 6 frames per second.
On console this message is printed exactly 4 times both on Firefox and Chrome.
This is the code I’m using: server.js
Inside Chrome the same message about “Read pixels” appears the first time i load the project, after reload it desapears, but performance is still very poor. Could be a Texture problem?
Also confirm your FPS by adding ?stats to the url if you haven’t before. (i know SUPER slow is still SUPER Slow, but just you know… the performance could differ)
I’ve just made a production build on 2020 and re-deployed the Configurator sample. (https://engine.needle.tools/samples/configurator/?stats) performance seems ok (50 fps, since the target fps is 60fps- currently known issue)
Maybe… for some odd reason… try setting the target fps to something high, like 150. Open dev console and write Needle.Context.Current.targetFrameRate = 150
Since what the error says is that webgl2 is probably not enabled? And that is definitely wrong. Only super old devices do have only webgl1 support. Did you disabled it by accident via some extension?
EDIT ^^^