A new 2d tilemap shader

A while back I created this 2d tilemap shader and now Igor has sent me an improved version that looks great. Here is the email he sent me:

I found your tilemap shader post extremely helpful- it got me well on my way developing the terrain of a game I’m working on. Having spent a few days extending and refining the system, I thought I’d send it back to you, in case you wanted to add it to the post for any other folks stumbling upon your blog.

Basically, the new shader supports arbitrarily sized maps, layered tiles, and uses Warcraft 3-formatted tilesets.
It also fixes the tile bleeding issue in the original (it was related to precision loss in the pixel color component).

Again, kudos for the original idea.

And here is the updated package that was attached to it: multilayer_tiles.unitypackage

Thanks again, Igor for sending me this updated version.

Leave a Reply

Your email address will not be published. Required fields are marked *