Project

General

Profile

« Previous | Next » 

Revision 1a3f8cc2

Added by Leszek Koltunski about 6 years ago

Some improvements for 'Moving Glow'

View differences:

src/main/java/org/distorted/examples/transparency/TransparencyRenderer.java
100 100

  
101 101
      for(int i=0; i<NUM_OBJECTS; i++)
102 102
        {
103
        mTex[i]           = new DistortedTexture(OBJ_SIZE,OBJ_SIZE);
103
        mTex[i]          = new DistortedTexture(OBJ_SIZE,OBJ_SIZE);
104 104
        mMoveVector[i]   = new Static3D(0,0,0);
105 105
        mAlphaVector[i]  = new Static1D(0.5f);
106 106
        alpha[i]         = new FragmentEffectAlpha(mAlphaVector[i]);
107 107
        effects[i]       = new DistortedEffects();
108 108

  
109
        //effects[i].apply(blur);
109
        effects[i].apply(blur);
110 110
        effects[i].apply(alpha[i]);
111 111
        effects[i].apply(moveEffect);
112 112
        effects[i].apply(scaleEffect);

Also available in: Unified diff