I'm not talking about rotating a sprite or anything like that, I mean rotating the actual image data.

My game does a lot of stuff with dynamically generated images. I just figured out how to use the blend_rect_mask method to draw circles on my image, using a circular brush image I made. I can use other brushes too, but the problem is the brush image will always be facing the same direction.

Is there a way to rotate the image data so the brush will have the correct orientation? For now I'm sticking to circles since they look the same regardless of rotation.

manipulate their mapping coordinates? edit: you might need to do so in a custom shader.

3 years later