Autotiling Tilemap Shaders


You must be logged in to obtain assets


This asset has only been tested with GameMaker: Studio 1.

Download demo: https://1drv.ms/u/s!AppH38QcoEBfh-RIhch1_DK_QjFZHw

Forum thread: https://forum.yoyogames.com/index.php?threads/autotiling-tilemap-shaders.3295/

This extension includes two shaders which autotiles and depth sorts your tiles in an instant. There's a collection of 5 scripts which makes it easy to use the extension. Usually you would organize your tiles and create edges and corners etc. on the CPU, but this can be quite slow some times, so this asset focuses on doing these tasks on the GPU which can give you a great performance boost. Shuffling and updating all tiles in the window every step can be done with a steady 60+ frames per second.


  • Can be used for both sidescrollers and topdown games (and more).
  • Autotiling with fill, edges, outer corners and inner corners.
  • Tile variants. Makes the terrain look less random by varying between slightly different tile textures.
  • Adjustable tile size.
  • Specify different depth values for each tile sprite, tiles with the same depth connect to each other.
  • Support for chunk-based tile systems. Contact me if you want a link to a project that exemplifies use of the asset for such a system.
  • Very fast tile updates. The asset was made with focus on runtime efficiency.
  • Commented and organized code.
  • All GML and GLSL ES, no external libraries.

Note: The extension has been developed and tested using the Windows export module. Might work on other platforms as well, but this is not guaranteed.

Remember to read the asset's EULA:

End User Licence Agreement (EULA).

Age Rating: 4+


GMS1 - Version 1.0.2. Published February 28, 2018

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait