HarveyBrCo
HarveyBrCo

Reputation: 825

Cordova not working with threejs?

I have a game written with three.js in javascript, I am using Cordova to try to put it on the IOS and android store but Cordova doesn't seem to support webGL, and if i use a canvas renderer my game is really slow, I am thinking of trying cocoonJS.

So basically can i use three.js with Cordova and if not does cocoonJS support webGL?

Upvotes: 2

Views: 1623

Answers (1)

djikay
djikay

Reputation: 10628

It is a well-known fact that Android's web view is not accelerated to the extent of iOS or even Windows Phone 8 (it's slowly catching up though). I'm not sure what's going on with three.js and Cordova, apparently they don't get along, but CocoonJS does support WebGL in its latest incarnation. Ludei even have a demo app on Google Play. For more information, I suggest you check with Ludei support, as I'm certainly no expert.

Upvotes: 2

Related Questions