I would like to ensure that CCNode (maybe CCLayer, CCSprite, etc.) can mask all its children with a shader so that they can mask out gradually as they approach the borders of the node without directly changing the opacity value. For example, a menu might look like this:
The mask in this case will be a gradient, which may look something like this:
- Ray Wenderlich, , . , , , CCRenderTexture, , , , node, .
CCRenderTexture
, , , , , , - . , , , , .
, , "" .
z-, , . , .
, Claustrophobic.