lei Posted April 25, 2019 Share Posted April 25, 2019 Having a problem in running pixijs in lowend devices. please see error log in attached file. I have tried setting the PRECISION_VERTEX and PRECISION_FRAGMENT to 'mediump' and 'lowp' but the error is still there. TIA for the help. @ivan.popelyshev @themoonrat @bigtimebuddy tagging these expert people for help Quote Link to comment Share on other sites More sharing options...
botmaster Posted April 25, 2019 Share Posted April 25, 2019 setting precision should work for most fragments but there's still some fragments in PIXI that don't have a dynamic precision and are hard coded to high. Are you using any filters? Quote Link to comment Share on other sites More sharing options...
lei Posted April 25, 2019 Author Share Posted April 25, 2019 43 minutes ago, botmaster said: setting precision should work for most fragments but there's still some fragments in PIXI that don't have a dynamic precision and are hard coded to high. Are you using any filters? I found some of the hardcoded fragments and set them to 'mediump'. I'm new to game dev and what do you mean by filter? sorry for noob question Quote Link to comment Share on other sites More sharing options...
themoonrat Posted April 25, 2019 Share Posted April 25, 2019 In v5, we automatically detect the max precision your device supports, and scales it back automatically too if highp is requested but not supported. If you wanted to back port this into v4, the pr with the v5 change is: https://github.com/pixijs/pixi.js/pull/5602 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 25, 2019 Share Posted April 25, 2019 I believe default setting for v4 should work : vertex to high, fragment to medium. If it doesnt work, then v5 will have problems too. Please give us more information. Please check whether other renderers (threejs) work on your device. Quote Link to comment Share on other sites More sharing options...
botmaster Posted April 25, 2019 Share Posted April 25, 2019 4 hours ago, themoonrat said: In v5, we automatically detect the max precision your device supports, and scales it back automatically too if highp is requested but not supported. If you wanted to back port this into v4, the pr with the v5 change is: https://github.com/pixijs/pixi.js/pull/5602 I don't think it's the case for the noisefilter default fragment. 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.