#applying a shader per-tile

1 messages · Page 1 of 1 (latest)

mystic lotus
#

Have been figuring out for hours. I have a terrain i want to change color based on depth. i specifically want only certain tiles to change, and not all of them at once. How do i apply shaders per-tile and not tilemap-wide? i specifically mean the placed tiles, not inside the tileset.

tame hull
#

I had the same issue in the past and after some research I unfortunately don't think it's possible to store any kind of data connected to a single placed tile (without affecting the other tiles) without adding custom logic or resources or whatever to map to the tiles in question

#

So for having a shader applying to certain tiles depending on the affect you might be able to either have another tile map with the shader tiles on top of the main tile map. Either that or instancing a minimal scene with a sprite and the shader effect