@saiy2k wrote:
After drawing few sprites onto my render Texture, I am trying to erase a portion of the texture as in the following code.
But the clearRect is not having any effect.I tried putting the clearRect before
.end()
, but no efffect.Any help on this?
this.renderTex.begin(); this.o.visit(); this.creditLogo.visit(); this.renderTex.end(); this.renderTex.clearRect(0, 0, 640, 100);
Cocos2d-JS Version: 3.10
Posts: 1
Participants: 1