Revision 698ad0a8
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/examples/transparency/TransparencyRenderer.java | ||
---|---|---|
75 | 75 |
mView = v; |
76 | 76 |
|
77 | 77 |
MeshRectangles mesh = new MeshRectangles(1,1); |
78 |
mesh.setStretch(OBJ_SIZE,OBJ_SIZE,0); |
|
78 | 79 |
|
79 | 80 |
mQuat1 = new Static4D(0,0,0,1); // unity |
80 | 81 |
mQuat2 = new Static4D(0,0,0,1); // quaternions |
... | ... | |
109 | 110 |
mBlur[i] = new PostprocessEffectBlur(new Static1D(0)); |
110 | 111 |
mBlurApplied[i] = true; |
111 | 112 |
alpha[i] = new FragmentEffectAlpha(mAlphaVector[i]); |
112 |
mEffects[i] = new DistortedEffects(OBJ_SIZE,OBJ_SIZE,0); |
|
113 |
|
|
113 |
mEffects[i] = new DistortedEffects(); |
|
114 | 114 |
mEffects[i].apply(mBlur[i]); |
115 | 115 |
mEffects[i].apply(alpha[i]); |
116 | 116 |
mEffects[i].apply(new MatrixEffectMove(mMoveVector[i])); |
Also available in: Unified diff
Move the Effects.setStretch to Meshbase.setStretch