Version: 2019.1
Creating a Tile Palette for an Isometric Tilemap
Scriptable Brushes

Tilemap Renderer Modes

The Tilemap Renderer component renders the Tilemap in the Scene. Unity creates Tilemaps with the Tilemap Renderer attached by default. The Tilemap Renderer can:

The Render Mode affects how the Tilemap Sprites are sorted when rendered.

Rendering in batches with Chunk Mode

Chunk Mode is the default rendering mode of the Tilemap Renderer:

When set to Chunk Mode, the Tilemap Renderer handles Sprites on a Tilemap in batches and renders them together. They are treated as a single sort item when sorted in the 2D Transparent Queue. This reduces the number of draw calls to improve overall performance, however other Renderers cannot be rendered in between any portion of the Tilemap which prevents other rendered Sprites being able to interweave with the Tilemap Sprites.

Using the Sprite Atlas for Sorting (Chunk Mode only)

In Chunk Mode, the Tilemap Renderer is not able to sort Tiles from multiple textures individually and does not render the Tile Sprites consistently (see example below).

Pack all the individual Sprites that make up the Tilemap into a single Sprite Atlas to solve this issue. To do this:

  1. Create a Sprite Atlas from the Assets menu (go to: Atlas > Create > Sprite Atlas).

  2. Add the Sprites to the Sprite Atlas by dragging them to the Objects for Packing list in the Atlas’ Inspector window.

  3. Click Pack Preview. Unity packs the Sprites into the Sprite Atlas during Play mode, and correctly sorts and renders them. This is only visible in the Editor during Play mode. label

Rendering individually with Individual Mode

In Individual Mode, the Tilemap Renderer sorts and renders the Sprites on a Tilemap with consideration of other Renderers in the Scene, such as the Sprite Renderers and Mesh Renderers. Use this mode if other Renderers interact with Sprites and objects on the Tilemap.

In this mode, the Tilemap Renderer sorts Sprites based on their position on the Tilemap and the sorting properties set in the Tilemap Renderer. For example, this allows a character Sprite to go in-between obstacle Sprites (see example below).

In Individual Mode, the character can be rendered behind the tower Sprites, and also appear above the ground Sprites.
In Individual Mode, the character can be rendered behind the tower Sprites, and also appear above the ground Sprites.

Using the same example in Chunk Mode, character Sprites may get hidden behind ground sprites:

The same Scene rendered in Chunk Mode.
The same Scene rendered in Chunk Mode.

Using Individual Mode may reduce performance as there is more overhead when rendering each Sprite individually on the Tilemap.

Custom Axis Sorting Mode for a Z as Y Tilemap in Individual Mode

To correctly sort and render Tile Sprites on an Isometric Z as Y Tilemap, the Transparency Sort Axis must be set to a Custom Axis. First set the Renderer Mode to ‘Individual Mode’ and go to to Edit > Settings > Graphics.

Set Transparency Sort Mode to Custom Axis, and set its Y-value to –0.26. Refer to the page on Creating an Isometric Tilemap for more information about the Transparency Sort Axis settings.


  • Isometric Tilemaps added in 2018.3 NewIn20183
Creating a Tile Palette for an Isometric Tilemap
Scriptable Brushes
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961