binyan Posted August 5, 2014 Share Posted August 5, 2014 I'm getting a frame drop while moving two grounds created from height map. With Intel HD 4000 I have around 40 fps and with Adreno 330 (smartphone) I have 20 fps.I've created a simple example based on the height map tutorial. I've just added an additional ground object and ground movement and still getting this frame drop. The frame drop is not so drastic as in my own project but it still exists. With Intel HD 4000 I have 50 fps and with Adreno 330 I have 40 fps. Anyone have any idea why is this happening and how it may be fixed? I have tried to reduce the amount of subdivisions, it increases the frame rate but only a bit.The example is attached. movingHeightMap.zip Quote Link to comment Share on other sites More sharing options...
Temechon Posted August 5, 2014 Share Posted August 5, 2014 Hey, You have a lot of triangles with 250 subdivisions for your grounds (more than 126 000 actives vertices with your project).By reducing the number of subdivisions to 100, I have 20 000 actives vertices, and a constant 55 fps. Cheers, Quote Link to comment Share on other sites More sharing options...
binyan Posted August 5, 2014 Author Share Posted August 5, 2014 As I said I've already tried to reduce the number of subdivisions (i.e. vertices) and it increases the frame rate but not drastically. I still have low fps on mobile device. Btw, in my project the amount of subdivisions is 150, so I don't think the problem is only in number of active vertices. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 6, 2014 Share Posted August 6, 2014 Is it possible to create a playground sample? Quote Link to comment Share on other sites More sharing options...
binyan Posted August 6, 2014 Author Share Posted August 6, 2014 Here you go. But in playground it is a bit problematic to see the problem. The problem appears when the resolution is high, while in playground even in full screen you don't have a canvas of full screen size. My laptop screen has a Full HD resolution and when I open the dev console (which reduces a canvas size) I have no any problem with fps. But when it is really full screen I have an fps drop. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 9, 2014 Share Posted August 9, 2014 Even on my surface3(huge resolution:) I have no fps drop Quote Link to comment Share on other sites More sharing options...
binyan Posted August 9, 2014 Author Share Posted August 9, 2014 As I mentioned, you probably won't have an FPS drop with an example in playground because it is not truly a full screen. If you would run it standalone with canvas of size 100% it would give you a frame drop. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 9, 2014 Share Posted August 9, 2014 Even with that I did not notive a fps drop Quote Link to comment Share on other sites More sharing options...
binyan Posted August 9, 2014 Author Share Posted August 9, 2014 Did you try to run it on mobile or on desktop? On my desktop (Radeon HD 4970) I also have no FPS drop However (see the first post) I have an FPS drop on Intel HD 4000 and Adreno 330. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 11, 2014 Share Posted August 11, 2014 I'm using my Surface 3 (Intel HD 4400) could you create a web site somewhere that reproduces the bug so that everyone can test? This would be the best way to determine the issue Quote Link to comment Share on other sites More sharing options...
binyan Posted August 11, 2014 Author Share Posted August 11, 2014 Sure I'll do that ASAP. With your mobile you should definitely feel the problem (you have a huge resolution - 2160 x 1440) Quote Link to comment Share on other sites More sharing options...
binyan Posted August 11, 2014 Author Share Posted August 11, 2014 Here is the site.Btw, I have even greater FPS drop when in portrait orientation - 16 fps. In landscape orientation its 36 fps. Quote Link to comment Share on other sites More sharing options...
Temechon Posted August 11, 2014 Share Posted August 11, 2014 Constant 60 fps on your website ! Quote Link to comment Share on other sites More sharing options...
binyan Posted August 11, 2014 Author Share Posted August 11, 2014 What device? And what resolution of the device? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 12, 2014 Share Posted August 12, 2014 Constant 60fps as well Quote Link to comment Share on other sites More sharing options...
binyan Posted August 12, 2014 Author Share Posted August 12, 2014 Hmm... Mobile Chrome? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 12, 2014 Share Posted August 12, 2014 windows phone Quote Link to comment Share on other sites More sharing options...
binyan Posted August 12, 2014 Author Share Posted August 12, 2014 The browser... Is it Chrome? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 12, 2014 Share Posted August 12, 2014 lol no it's Internet Explorer Quote Link to comment Share on other sites More sharing options...
binyan Posted August 13, 2014 Author Share Posted August 13, 2014 Could you please try with Chrome? I hardly believe that the performance gap between HD 4000 and HD 4400 is so huge. Maybe it's all about the browser?Also, could you try to enter the site from your phone? This is a quite simple scene and it's really weird that on my Snapdragon 800 it gets low fps (all the modern mobile games run just perfect on this processor). Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 13, 2014 Share Posted August 13, 2014 On CHrome I have a small frame drop will loading textures but then everything remains at 30fps Quote Link to comment Share on other sites More sharing options...
binyan Posted August 13, 2014 Author Share Posted August 13, 2014 30 or 60? Did you try to enter from smartphone? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 13, 2014 Share Posted August 13, 2014 on my windows phone I only have IE so I tried on another computer with Chrome Quote Link to comment Share on other sites More sharing options...
binyan Posted August 14, 2014 Author Share Posted August 14, 2014 Ok, so it seems we should just leave this issue, because you don't have an ability to reproduce it with same (or close to same) system like mine. Crap Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 14, 2014 Share Posted August 14, 2014 Really sorry about that 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.