Revision dae661e9
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/glow/GlowRenderer.java | ||
---|---|---|
75 | 75 |
mGlow = new PostprocessEffectGlow(mRadius,mColor); |
76 | 76 |
|
77 | 77 |
DistortedEffects effects = new DistortedEffects(); |
78 |
effects.apply(new MatrixEffectMove(mMove)); |
|
79 | 78 |
effects.apply(new MatrixEffectScale(mScale)); |
79 |
effects.apply(new MatrixEffectMove(mMove)); |
|
80 | 80 |
effects.apply(mGlow); |
81 | 81 |
|
82 | 82 |
mScreen = new DistortedScreen(); |
Also available in: Unified diff
Invert the order of Matrix Effects. Now, just as in the other queues, the first matrix effect is actually the first to act on the object - not the other way around!