Revision 01cef452
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/movingeffects/MovingEffectsRenderer.java | ||
---|---|---|
30 | 30 |
|
31 | 31 |
import org.distorted.library.effect.FragmentEffectAlpha; |
32 | 32 |
import org.distorted.library.effect.FragmentEffectChroma; |
33 |
import org.distorted.library.effect.VertexEffectDistort;
|
|
33 |
import org.distorted.library.effect.VertexEffectDeform;
|
|
34 | 34 |
import org.distorted.library.effect.VertexEffectSink; |
35 | 35 |
import org.distorted.library.effect.VertexEffectSwirl; |
36 | 36 |
import org.distorted.library.main.DistortedScreen; |
... | ... | |
114 | 114 |
public void onSurfaceCreated(GL10 glUnused, EGLConfig config) |
115 | 115 |
{ |
116 | 116 |
VertexEffectSwirl.enable(); |
117 |
VertexEffectDistort.enable();
|
|
117 |
VertexEffectDeform.enable();
|
|
118 | 118 |
VertexEffectSink.enable(); |
119 | 119 |
FragmentEffectChroma.enable(); |
120 | 120 |
FragmentEffectAlpha.enable(); |
Also available in: Unified diff
Change Distort to Deform in two apps - looks better.