Project

General

Profile

« Previous | Next » 

Revision 7d8ae8db

Added by Leszek Koltunski about 2 years ago

Switch off Vertex uniforms in BandagedCreator.

View differences:

src/main/java/org/distorted/bandaged/BandagedCreatorRenderer.java
31 31
import org.distorted.library.effect.EffectType;
32 32
import org.distorted.library.effect.FragmentEffectBrightness;
33 33
import org.distorted.library.effect.PostprocessEffectBorder;
34
import org.distorted.library.effect.VertexEffectDeform;
35 34
import org.distorted.library.main.DistortedEffects;
36 35
import org.distorted.library.main.DistortedFramebuffer;
37 36
import org.distorted.library.main.DistortedLibrary;
......
306 305
   @Override
307 306
   public void onSurfaceCreated(GL10 glUnused, EGLConfig config)
308 307
      {
309
      DistortedLibrary.setMax(EffectType.VERTEX,25);
308
      DistortedLibrary.setMax(EffectType.VERTEX,0);
310 309
      MeshBase.setMaxEffComponents(120);
311 310

  
312
      VertexEffectDeform.enable();
313 311
      FragmentEffectBrightness.enable();
314 312

  
315 313
      DistortedLibrary.onSurfaceCreated(mView.getContext(),this,1);

Also available in: Unified diff