Project

General

Profile

« Previous | Next » 

Revision aa2f0486

Added by Leszek Koltunski almost 7 years ago

Now all PostprocessEffects are truly self-contained, including dynamic enable() and all shader sources.

View differences:

src/main/java/org/distorted/library/main/Distorted.java
26 26

  
27 27
import org.distorted.library.effect.Effect;
28 28
import org.distorted.library.effect.FragmentEffect;
29
import org.distorted.library.effect.PostprocessEffectBlur;
29
import org.distorted.library.effect.PostprocessEffect;
30 30
import org.distorted.library.effect.VertexEffect;
31 31
import org.distorted.library.program.*;
32 32

  
......
124 124

  
125 125
    final Resources resources = context.getResources();
126 126
    DistortedEffects.createProgram(resources);
127
    PostprocessEffectBlur.createProgram();
127
    PostprocessEffect.createPrograms();
128 128
    EffectMessageSender.startSending();
129 129

  
130 130
    mInitialized = true;

Also available in: Unified diff