Revision 885b9cca
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/examples/deform/DeformRenderer.java | ||
---|---|---|
214 | 214 |
|
215 | 215 |
public void onSurfaceCreated(GL10 glUnused, EGLConfig config) |
216 | 216 |
{ |
217 |
DistortedEffects.enableEffect(EffectName.DISTORT);
|
|
218 |
DistortedEffects.enableEffect(EffectName.DEFORM);
|
|
217 |
VertexEffectDistort.enable();
|
|
218 |
VertexEffectDeform.enable();
|
|
219 | 219 |
|
220 | 220 |
try |
221 | 221 |
{ |
Also available in: Unified diff
Move all the knowledge about Vertex and Fragment effects to their respective classes.