I am new to shaders and dont know anything about them. I needed to implement a water ripple effect. I found the following post on cocos2d:
and using the code at
I ported the project to cocos2dx 2.2.0. But It does not seem to be working. There is only a small part of the original image displayed on the screen and there are no ripples. Can anyone who has some experinece in shaders help? I am attaching the code that I ported. It just needs to be unzipped and placed in the project folder under cocos2d-x 2.2.0.
RippleEffect.zip (1934.1 KB)