GBear Posted January 20, 2016 Share Posted January 20, 2016 hi. I got false by 'isWebGLSupported function ' when i run my game that create by pixi.js(3.0.8) it''s sometimes happening. i check by www.html5test.com www.doesmybrowsersuppertwebgl.com there gave suporting is yes~~.. and i run my game. somethime can't run by webgl... do you have any ideas for this? function runMain() { if(PIXI.utils.isWebGLSupported()) { console.log('WEBGL Suppoerted') } else { console.log('WEBGL Not Suppoerted'); alert('WEBGL Not Suppoerted'); } //code .... i checked only this to run is there something problems.? my testing machine is samsung note3 or samsung note 10.1 tablet and brower is chorme or default brower thx.. Quote Link to comment Share on other sites More sharing options...
xerver Posted January 21, 2016 Share Posted January 21, 2016 Our check ensures your webgl implementation supports all the features pixi uses (like the stencil buffer) which some WebGL implementations (or your browser/hardware) may not support. Other sites like those just check that webgl exists and gives a green light. Quote Link to comment Share on other sites More sharing options...
GBear Posted January 21, 2016 Author Share Posted January 21, 2016 hi xerver... you mean my hardware is not support stencil...? pixi.js have to stencil with webgl? thx.. Quote Link to comment Share on other sites More sharing options...
xerver Posted January 21, 2016 Share Posted January 21, 2016 The Graphics object uses the stencil buffer, if your webgl implementation doesn't support that buffer we return false for support. Quote Link to comment Share on other sites More sharing options...
GBear Posted January 21, 2016 Author Share Posted January 21, 2016 i see. thx...xerver Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.