Revision 885b9cca
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/examples/differentbitmaps/DifferentBitmapsRenderer.java | ||
---|---|---|
192 | 192 |
mScreen.detachAll(); |
193 | 193 |
for(int i=NUM-1; i>=0; i--) mScreen.attach(mTexture[i], mEffects[i], mMesh); |
194 | 194 |
|
195 |
DistortedEffects.enableEffect(EffectName.SINK);
|
|
196 |
DistortedEffects.enableEffect(EffectName.DISTORT);
|
|
195 |
VertexEffectSink.enable();
|
|
196 |
VertexEffectDistort.enable();
|
|
197 | 197 |
|
198 | 198 |
try |
199 | 199 |
{ |
Also available in: Unified diff
Move all the knowledge about Vertex and Fragment effects to their respective classes.