This demo shows how to mask table view with CCRenderTexture and custom GLSL shader.
This technique can be applied to any sprite in Cocos2D. Demo is done in 30 mins and probably contains some bug in input coordinate transformation.
Created for this topic: http://forum.cocos2d-objc.org/t/opacity-faded-gradient-border-for-scroll-view-bottom-top/18092/4
Screenshot made from simulator, so don't mind FPS.
MIT License.
