pgeRippleSprite in Cocos2d-x

Hello everyone. Need to create a ripple effect and the best I have seen implemented on Cocos2d is pgeRippleSprite. However it’s done for OpenGL ES 1.x and does not work on current version of the framework. Has anybody been able to port it into C*+ or is there a way to achieve a similar effect by using CCRipple3D. If yes? what values… I have been playing with it but all the values look horrible compared to pgeRippleSprite. Can anybody help me with a pointer on this?
PD: I tried to migrate it into C*+ by using code from an Objective-C OpenGL ES 2.0 port however it’s not working. Help in telling me what’s wrong would be great.

Thanks a lot.


RippleSprite.h.zip (1.5 KB)


RippleSprite.cpp.zip (4.4 KB)