ian Posted September 25, 2016 Share Posted September 25, 2016 I figure out that if we resize browser window on 1/4 of full screen size, we get better FPS. Can we make window resolution to be as 800x600 of full size screen, but the window we see is full size of screen? Is there any way to meke full screen size browser window with 800x600 resolution with babylon or js API? How to do it with babylonjs API? greetings ian Quote Link to comment Share on other sites More sharing options...
BitOfGold Posted September 25, 2016 Share Posted September 25, 2016 You can set the resolution to 1/4 with:engine.setHardwareScalingLevel(4) But it is better to be adaptive with optimalization, there is a bunch of tutorials here:http://doc.babylonjs.com/tutorials/Optimizing_your_scenehttp://doc.babylonjs.com/tutorials/How_to_use_SceneOptimizer Quote Link to comment Share on other sites More sharing options...
ian Posted September 25, 2016 Author Share Posted September 25, 2016 Does setHardwareScalingLevel do better FPS? Or It Just Scale resolition but FPS remains same as without using setHardwareScalingLevel? Thank you fir other links Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted September 26, 2016 Share Posted September 26, 2016 If you are limited by fillrate then setHardwareScalingLevel (0.5) can really help with FPS Quote Link to comment Share on other sites More sharing options...
ian Posted September 27, 2016 Author Share Posted September 27, 2016 Ok, I'll chack that. with debug-er to see difference in fps Quote Link to comment Share on other sites More sharing options...
ian Posted September 27, 2016 Author Share Posted September 27, 2016 15 hours ago, Deltakosh said: If you are limited by fillrate then setHardwareScalingLevel (0.5) can really help with FPS So 0.5 (2fps) is much slower (fps) than 1(6fps) or 4(50fps). (some test i try) So setHardwareScalingLevel can help by FPS. I'm I right? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted September 28, 2016 Share Posted September 28, 2016 yep:) 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.