some effect implementation based on cocos2dx