Revision dae661e9
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/mirror/MirrorRenderer.java | ||
---|---|---|
91 | 91 |
mEffectsMirror.apply( new MatrixEffectScale(mScaleMirror)); |
92 | 92 |
mEffectsOffscreen1.apply( new MatrixEffectScale( new Static3D(MIRROR_SCALE,MIRROR_SCALE,MIRROR_SCALE))); |
93 | 93 |
mEffectsOffscreen2.apply( new MatrixEffectMove(mMoveOffscreen2) ); |
94 |
mEffectsHead.apply( new MatrixEffectMove(mHeadPosition) ); |
|
95 | 94 |
mEffectsHead.apply( new MatrixEffectScale(mScaleHead) ); |
95 |
mEffectsHead.apply( new MatrixEffectMove(mHeadPosition) ); |
|
96 | 96 |
mEffectsOffscreen1.apply(new FragmentEffectBrightness(new Static1D(MIRROR_BRIGHTNESS))); |
97 | 97 |
} |
98 | 98 |
|
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!