@Kotaiba wrote:
Hi,
I want to RenderTexture half the node ,i don't want to use mask .this is my code to render first half of the node i want to get the second half .
auto renderTexture = RenderTexture::create( shape->getContentSize().width/2, shape->getContentSize().height); renderTexture->begin(); shape->_drawNode->visit(); renderTexture->end(); renderTexture->getSprite()->getTexture()->setAntiAliasTexParameters();
any one know how to render the other half ??
Posts: 1
Participants: 1