Distorb / warp texture in andengine

I am wondering which AndEngine GLES1 methods I should use to achieve the wave effect for my texture. I need an effect since http://hge.relishgames.com/demos.html example 3. Grid distortion. What should I use or even what methods can achieve this?

+3
source share
1 answer

There is no ready class for this. You must create a subclass of Entity or Shape that has a grid of vertices from which you manually transform the positions so that they behave the way you want to render.

Depending on the effect, you can achieve the same results with Shader in GLES2. =)

0
source

All Articles