Project

General

Profile

« Previous | Next » 

Revision 885b9cca

Added by Leszek Koltunski almost 7 years ago

Move all the knowledge about Vertex and Fragment effects to their respective classes.

View differences:

src/main/java/org/distorted/examples/differenteffects/DifferentEffectsRenderer.java
190 190
     mScreen.detachAll();
191 191
     for(int i=NUM-1; i>=0; i--) mScreen.attach(mTexture, mEffects[i], mMesh);
192 192

  
193
     DistortedEffects.enableEffect(EffectName.SINK);
194
     DistortedEffects.enableEffect(EffectName.DISTORT);
195
     DistortedEffects.enableEffect(EffectName.CHROMA);
193
     VertexEffectSink.enable();
194
     VertexEffectDistort.enable();
195
     FragmentEffectChroma.enable();
196 196

  
197 197
     try
198 198
       {

Also available in: Unified diff