Revision 8fca4a82
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/aroundtheworld/AroundTheWorldRenderer.java | ||
---|---|---|
144 | 144 |
mScreen.detachAll(); |
145 | 145 |
mScreen.attach(mTexture, mEffects, mMesh); |
146 | 146 |
|
147 |
DistortedEffects.setMax(EffectType.VERTEX ,12);
|
|
148 |
DistortedEffects.setMax(EffectType.FRAGMENT, 9);
|
|
147 |
Distorted.setMax(EffectType.VERTEX ,12); |
|
148 |
Distorted.setMax(EffectType.FRAGMENT, 9); |
|
149 | 149 |
|
150 | 150 |
VertexEffectDistort.enable(); |
151 | 151 |
VertexEffectSink.enable(); |
Also available in: Unified diff
Move all Program-related stuff to Distorted. Now the DistortedEffects class is very simple.