I've been experimenting with Ray Wenderlich's tutorial about masking sprite using shaders with cocos2D 2.0.
It works pretty well but now I'd like to rotate the mask independently of the masked texture.
Does anyone have any idea about how to achieve it ?