What would be the best option Here ?
Should i use 16x16 tiles with a quadrant size of 32 ? or 200 ?
Iam currently using tiles with 32 x 32, for performance reasons, draw calls, etc ( that’s how it works in other engines ).
But it would be much more easier if i could use 16x16 tiles. I just dont understand how the tile size and the quadrant work toghter, or how the quandrant is drawn ?
quadrant_size is an internal optimization technique. Different values may be faster than others depending on the device and project – there’s no value that will be always faster or slower than another. If you’re not running into performance issues, leave it at the default. If you do, try to tweak it starting from 1 (which has been known to improve performance on some devices).
It won’t change what you see on your screen in any way.
the quadrant 16x16 = 256… 32x32 = 1024… 64x64 = 4096
changing the quadrant size to 1
(has been known to improve performance on some devices)
???
1 should make a draw call for every single tile, instead of grouping them into images sizes of 256…
1 draw call for every tile VS 1 draw call for every 256 size tile group…
It should be the exact opposite ?! quadrant size of 1 should make it slower
i do believe that’s a single tile pixel to be rendered every frame is easier to process for gpu than a huge chunk of 4096 pixel in a single draw call. i also think it’s about how good the gpu is at the player end and how it can handle much drawcalls or more resolution
the article talks about the average knowledge / common sense…
( in short reduce the draws calls to make it faster )
To have better fps, with a draw call for every single pixel, it must be some recent GPU’s, or another directX12 thing ?!?! Or unreal engine lumen thing ?!?
Iam just trying to target the old NES or game boy advanced render…
But i was asking if i should change my tiles images size to 16x16 instead of 32x32… since they are drawned has quadrants ( one image size of 256 )… it seems the tile size doesnt matter much, but i could be wrong i dont know…
would be better if you can test it right away,
it’s also said that
As told, the golden rule is as much as necessary but as few as possible.
and performance issues also not only came from drawcalls issue.
but if the quadrant tweaking fixed the issue, then it could be drawcall that made the performance issue. as to “best performance” will need to test it on multiple targeted platforms
can simply plug in fps counter or something over the screen to check if there’s any fps drop on tweaking the quadrant value
can simply plug in fps counter or something over the screen to check if there’s any fps drop on tweaking the quadrant value
I have the V-sync turned off, and iam reading the real FPS. I can confirm that turning the visibility ON/OFF in tileSet node’s… makes the fps go from 200 to about 600
[edit] i just cant test it in 16x16 tiles… Since my tiles are 32x32, i would have to delete all my tileSets sheets and make new ones…
i think you somehow misunderstood between tile_size of tileset and quadrant size to change the tile size from 32 to 16
if it’s not the case, then it’s about how using smaller resolution image is better than bigger one
I mean for me, I didn’t feel any impact on performance by changing the tile res, but if you have a 16 by 16 texture, it’s reconmended you use a 16 by 16 tile set.