Project

General

Profile

« Previous | Next » 

Revision 9fb7a4e4

Added by Leszek Koltunski almost 7 years ago

Fix quality levels in Glow.

View differences:

src/main/java/org/distorted/examples/glow/GlowRenderer.java
72 72
      mColor = new Static4D(1.0f,0.0f,0.0f,0.5f); // half-transparent red
73 73

  
74 74
      PostprocessEffectGlow glow = new PostprocessEffectGlow(mRadius,mColor);
75
      glow.setQuality(EffectQuality.HIGH);
75
      glow.setQuality(EffectQuality.HIGHEST);
76 76

  
77 77
      DistortedEffects effects = new DistortedEffects();
78 78
      effects.apply(new MatrixEffectMove(mMove));
......
82 82
      mScreen = new DistortedScreen();
83 83
      mScreen.attach(mLeaf, effects, new MeshFlat(1,1) );
84 84
      mScreen.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
85
      mScreen.setDebug(DistortedScreen.DEBUG_FPS);
85 86
      }
86 87

  
87 88
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff