I want to clip circle Cliiping Area
CCDrawNode* shape = CCDrawNode::create();
shape->drawDot(…);
setStencil(shape);
but clipping area is shown to rect , not circle
how to clip Circle in CCClipingNode?
I want to clip circle Cliiping Area
CCDrawNode* shape = CCDrawNode::create();
shape->drawDot(…);
setStencil(shape);
but clipping area is shown to rect , not circle
how to clip Circle in CCClipingNode?
as i know,there is a class “CCRenderTexture”.
you can create a CCRenderTexture with two CCSprites which have set BlendFunction(setBlendFunc),but fist you should know the detail of OpenGL blend function.
Thank you