Revision dae661e9
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/transparency/TransparencyRenderer.java | ||
---|---|---|
114 | 114 |
|
115 | 115 |
mEffects[i].apply(mBlur[i]); |
116 | 116 |
mEffects[i].apply(alpha[i]); |
117 |
mEffects[i].apply(moveEffect); |
|
118 |
mEffects[i].apply(scaleEffect); |
|
119 |
mEffects[i].apply(quatEffect1); |
|
120 |
mEffects[i].apply(quatEffect2); |
|
121 | 117 |
mEffects[i].apply(new MatrixEffectMove(mMoveVector[i])); |
118 |
mEffects[i].apply(quatEffect2); |
|
119 |
mEffects[i].apply(quatEffect1); |
|
120 |
mEffects[i].apply(scaleEffect); |
|
121 |
mEffects[i].apply(moveEffect); |
|
122 | 122 |
|
123 | 123 |
mNode[i] = new DistortedNode(mTex[i], mEffects[i], mesh ); |
124 | 124 |
mScreen.attach(mNode[i]); |
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!