Revision 736a0b00
Added by Leszek Koltunski almost 5 years ago
| src/main/java/org/distorted/examples/aroundtheworld/AroundTheWorldRenderer.java | ||
|---|---|---|
| 135 | 135 |
mScreen.detachAll(); |
| 136 | 136 |
mScreen.attach(mTexture, mEffects, mMesh); |
| 137 | 137 |
|
| 138 |
DistortedLibrary.setMax(EffectType.FRAGMENT, 9); |
|
| 139 |
|
|
| 138 | 140 |
VertexEffectScale.enable(); |
| 139 | 141 |
VertexEffectDistort.enable(); |
| 140 | 142 |
VertexEffectSink.enable(); |
| src/main/java/org/distorted/examples/earth/EarthRenderer.java | ||
|---|---|---|
| 277 | 277 |
Effect.enableEffects(EffectType.FRAGMENT); |
| 278 | 278 |
Effect.enableEffects(EffectType.VERTEX); |
| 279 | 279 |
|
| 280 |
DistortedLibrary.setMax(EffectType.FRAGMENT, 20); |
|
| 281 |
|
|
| 280 | 282 |
DistortedLibrary.onSurfaceCreated(mView.getContext(), this); |
| 281 | 283 |
} |
| 282 | 284 |
|
Also available in: Unified diff
We need to re-add upping the max number of fragment effects as their default was lowered back to 5 in the library.