DrawPoly Question.

Monkey Forums/Monkey Programming/DrawPoly Question.

FelipeA(Posted 2012) [#1]
I was wondering if there is a way to use DrawPoly with a texture or a clip an image to that polygon.
I was making some test with javascript and came up with this: http://shin.cl/lavander/
But I want to do this on monkey. żIs there a way to do this without an external module?
Thanks.


AdamRedwoods(Posted 2012) [#2]

żIs there a way to do this without an external module?


no, there's no stencil operations in mojo. the only other way is to have the background the same color as a clip poly and draw over the light image.