Revision 8fca4a82
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/generic/GenericRenderer.java | ||
---|---|---|
313 | 313 |
mCenterTexture.setTexture(bitmapC); |
314 | 314 |
mRegionTexture.setTexture(bitmapR); |
315 | 315 |
|
316 |
DistortedEffects.setMax(EffectType.VERTEX ,10);
|
|
317 |
DistortedEffects.setMax(EffectType.FRAGMENT,10);
|
|
316 |
Distorted.setMax(EffectType.VERTEX ,10); |
|
317 |
Distorted.setMax(EffectType.FRAGMENT,10); |
|
318 | 318 |
|
319 | 319 |
Effect.enableEffects(EffectType.VERTEX); |
320 | 320 |
Effect.enableEffects(EffectType.FRAGMENT); |
Also available in: Unified diff
Move all Program-related stuff to Distorted. Now the DistortedEffects class is very simple.