Hello.
I have 2 images.
The first is my base image. It will be loaded to TextureRegion. So, lets make assumption i have it loaded for variable;
TextureReguion koala = ...;
I don’t want draw entire image, but only pixel who cover black pixels in my shape.png image. But this may not be persist change. In future i want just take off the mask and draw entire picture. Format of mask is flexible. This is only example. I can use anyone.
Can You write few line of code which can do this and draw masked texture on SpriteBatch?