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/catanddog/CatAndDogRenderer.java
146 146
      mScreen.detachAll();
147 147
      mScreen.attach(mTexture,mEffects,mMesh);
148 148

  
149
      DistortedEffects.enableEffect(EffectName.SMOOTH_CHROMA);
150
      DistortedEffects.enableEffect(EffectName.ALPHA);
149
      FragmentEffectChroma.enable();
150
      FragmentEffectAlpha.enable();
151 151

  
152 152
      try
153 153
        {

Also available in: Unified diff