saltemishel Posted October 13, 2017 Share Posted October 13, 2017 Hi All, I'm facing some issue in iphone 5c, both safari and iphone, the mesh is horribly jagged, and the transparent side of the mesh have some black pixels in it. https://www.dropbox.com/s/yviece1mh36qn3f/Screenshot 2017-10-13 18.33.58.png?dl=0 FxaaPostProcess make the scene look jagged+ blurry in iphone. In android is a bit jagged too but FxaaPostProcess does make the situation slightly better. Anyone know how to make it look better? Thanks Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 13, 2017 Share Posted October 13, 2017 Hey you can try to remove the fxaa and instead use engine.setHardwareScalingRatio(0.5) Quote Link to comment Share on other sites More sharing options...
saltemishel Posted October 16, 2017 Author Share Posted October 16, 2017 Hi Deltakosh, It says that setHardwareScalingRatio is not a function, I've used setHardwareScalingLevel instead. Works awesome! Thank you so much!!!! Quote Link to comment Share on other sites More sharing options...
saltemishel Posted October 16, 2017 Author Share Posted October 16, 2017 Hi @Deltakosh, It appears that my frame rate has dropped to around 10 after changing the setting though, any suggestion to bring the frame rate up? Thanks! Quote Link to comment Share on other sites More sharing options...
saltemishel Posted October 16, 2017 Author Share Posted October 16, 2017 I tried some optimisation options from this tutorial:https://doc.babylonjs.com/tutorials/optimizing_your_scene While in iphone 5c chrome and safari, it's only around 17 fps, is iphone generally weak in rendering? it seems that in android chrome is able to run up to 30 and even 60 fps(even without the optimization options). Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 16, 2017 Share Posted October 16, 2017 It depends on the phone The main problem with the setHardwareScalingRatio is that it will require more GPU power (You can also use intermediate values like 0.8) Quote Link to comment Share on other sites More sharing options...
saltemishel Posted October 17, 2017 Author Share Posted October 17, 2017 Ahh I see, guess will have to lose some quality then. Thanks for the help once again! GameMonetize 1 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.