Skip to content

Tile System Optimization

Lea Hayes edited this page Oct 3, 2017 · 2 revisions

Home | Tile Systems

Various options are provided allowing you to strip unwanted aspects from the tile systems in your projects. You can also combine tile meshes by material on a per chunk basis to reduce the number of draw calls which can be particularly beneficial when targeting mobile platforms.

Benefits of tile system optimization:

  • Vertices of static tiles automatically snapped within user defined threshold.

  • Smoothing of normals at tile joins.

  • Removal of unwanted tile data and tile system components.

  • Static tiles can be combined often resulting with fewer draw calls.

Note - The way in which a tile system is optimized can be configured using the Inspector.


< Previous Page | Next Page >


Child Topics:

  • Vertex Snapping
    Often vertices around tile joins are supposed to occupy the exact same position but often don't due to small inaccuracies.

  • Smoothing
    Whilst vertex snapping helps to avoid visual anomalies, you may still encounter issues regarding normals leading to lighting artifacts.

  • Stripping
    Tile systems contain a lot of data and functionality that is often not required at runtime (though is essential at design time). These unwanted aspects can be stripped upon building a tile system.

  • Tile System Build Options
    Reference of options allowing you to customize the way in which your tile system is built.

  • Tile System Runtime Options
    Reference of options that apply to runtime.

  • Building Prefab from Tile System
    Sometimes it is useful to save optimized versions of tile systems as prefabs which can then be composed to make scenes. Additional mesh assets will be generated when tiles are combined.

  • Building Entire Scene
    'rotorz/unity3d-tile-system' provides an option allowing you to build all of the tile systems in the current scene which will then be saved to a separate scene file. Original scene should be retained so that you can make changes and then rebuild.

Source: topics/Tile-System-Optimization.md

Clone this wiki locally