Revision 8fca4a82
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/earth/EarthRenderer.java | ||
---|---|---|
280 | 280 |
Effect.enableEffects(EffectType.FRAGMENT); |
281 | 281 |
Effect.enableEffects(EffectType.VERTEX); |
282 | 282 |
|
283 |
DistortedEffects.setMax(EffectType.VERTEX , MAX_EFF);
|
|
284 |
DistortedEffects.setMax(EffectType.FRAGMENT, MAX_EFF);
|
|
283 |
Distorted.setMax(EffectType.VERTEX , MAX_EFF); |
|
284 |
Distorted.setMax(EffectType.FRAGMENT, MAX_EFF); |
|
285 | 285 |
|
286 | 286 |
try |
287 | 287 |
{ |
Also available in: Unified diff
Move all Program-related stuff to Distorted. Now the DistortedEffects class is very simple.