Search Unity

Tilemap a big Texture to increase mobile perfomance

Discussion in 'General Graphics' started by Dazo1985, Oct 4, 2019.

  1. Dazo1985

    Dazo1985

    Joined:
    Mar 13, 2019
    Posts:
    26
    Hi

    We are using a big Texture as main map 4096*4096. ( 2d game)
    We zoom in and out on it, thats why it has to be that big.

    The map has a big impact on the fps on the mobile device.

    We are now tryieng to improve it by using the Tilemap system.

    Cutting it into power of 2 tiles.

    The idea is that it can cull out tiles (part of the image) when they are not on the screen.

    (The file size already decreased by 3 %)


    What do you guys think
    any perfomance improvements possible through that?
    Or will it get even worse?
     
  2. Dazo1985

    Dazo1985

    Joined:
    Mar 13, 2019
    Posts:
    26
    Ok by splitting the map into 1024 pieces and fit them in a tile map
    the fps increased between 0.4 to 2fps
     
  3. Dazo1985

    Dazo1985

    Joined:
    Mar 13, 2019
    Posts:
    26
    Splitting it further to 512 tiles had not further perfomance benefit.