Overlay a second texture on a sprite

I’m working on a breakout clone and I want to overlay brick sprites with crack images to show that they have been damaged.

Now I could create variations of the bricks with cracks at varying levels to represent different amounts of damage but I’d rather find a way to take my cracks sprite sheet and overlay the brick sprites with them allowing me to use those same cracks with any future brick variants I add to the game.

Any help would be appreciated, thanks.

RenderTexture, if you want to overlap each sprite separately.

CanvasTexture, if you want to overlap the spritesheet texture.

2 Likes