Project

General

Profile

« Previous | Next » 

Revision 736a0b00

Added by Leszek Koltunski over 3 years ago

We need to re-add upping the max number of fragment effects as their default was lowered back to 5 in the library.

View differences:

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();

Also available in: Unified diff