Can you combine a tile map with a transparent graphic layer above it?

We have a 2D game that uses a hexagonal tile map and an orthographic camera (as if it’s looking down at a game board). Our hexes are made up of solid color tiles. But we want to add a marble texture to the tiles and the overall look of the hex map.

If this were Photoshop it would be two layers and you would just make the top layer transparent.

Is there a way to put another graphic layer over the whole hexagon tile map, fill that layer with our marble graphic, and then make that layer transparent. The marble layer would not effect gameplay in anyway, it would just impact the look.

Please tell me someone has a cool solution that would let us do this.

Thanks in advance,

Chris

p.s. In case anyone is wondering, we don’t want to put the texture on the individual tiles, because then we will either have lots of repeating tiles or we would have to create hundreds of unique tiles.

you can create a second tilemap and fill it with the marble tiles and then offset it in the z axis so it is just above the original tilemap, then change the color on the marble tilemap to be transparent. it has an alpha parameter just like in photoshop for transparency

you can also do this with a sprite renderer, doesnt have to be a tilemap

First, thanks for the reply.

But, I think creating a second tile map, would be challenging because I would have to have hundreds of unique tiles with the texture on them.

Can I create some kind of rectangle that is above the original tile map with a texture on it - place that in z space above the tile map - and then make it transparent?

Yes that should work

1 Like

Cool - I’ll see if I can figure it out and give it a try.