#Blending tilemaps during runtime

4 messages · Page 1 of 1 (latest)

fading needle
#

Because i plan on having a wide variety of terrain tiles i don't want to create boarder tiles for each possible combination whereas most examples show grass transitioning to dirt with the sprites made by hand.
Rather i want to do what the example image does and blend the texture of neighboring tiles. I think minecraft also does this with grass and water but only with the color and not the textures themselves

trail hound
#

Minecraft modulates the color of blocks as they near a different biome. But minecraft also has a way more advanced system than TileMaps.

A simple-ish solution would be to make all grass grayscale and add some sort of shader over the TileMapLayer with the grass to smoothly transition colors.

#

It may be easier to auto-generate tiles from code by interpolating textures.

fading needle