Polygon help!!

i have a texture in the background covered with a black square… when i draw a polygon i fill a matrix with “1” to know the area of my polygon…now i should delete this area and see the texture where in my matrix there a “1” and black where there’s “0”…and so on!! and i don’t know how to do this…pls help me…thanks

Welcome to the boards. Sorry that I am not sure I understand your problem. Could you please explain in a little more details what you are trying to achieve?

Thanks and good luck