Add a mask to a tile before drawing

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ondesic

Is it possible to add a mask to a tile and then draw it on the Tilemap?

What do you mean by “a mask”? I’m not sure Tilemap has features like this per-tile.

Zylann | 2018-04-07 02:17

Like a black and white tile that serves as a mask so that the tile it is mixed with only draws a portion of the tile to the map. Does that make sense?

ondesic | 2018-04-07 02:23

Why not make a transparent version of the tile?
Or maybe that would be possible with some kind of shader, or by laying out two tilemaps on top of each other… but right now I’m not aware of anything in the editor letting you do a mask per tile.

Zylann | 2018-04-08 16:13