I'm trying to find a way to improve performance of my card game on mobile devices (wrapped with Cordova).
The script detect if WebGL is available and fallback to Canvas 2d if it's not supported. But I get a low 5-10fps on my Samsung Galaxy S4.
Is it possible to turn off Physijs? If not, how can I rewrite Physijs functions to only return ThreeJS objects instead of Physijs objects? Exmeple:
if(disablePhysics) {
Physijs.createMaterial(elem,v1,v2) {
return elem;
}
}
your help, as always, is valuable, thank you :)