Project

General

Profile

« Previous | Next » 

Revision 55e1b307

Added by Leszek Koltunski over 6 years ago

Properly recreate the Atomic and LinkedList buffers onPause.
We have to discard all alpha==0.0 pixels during OIT Pass1.

View differences:

src/main/java/org/distorted/examples/triblur/TriblurRenderer.java
209 209
      mScreenMin = width<height ? width:height;
210 210

  
211 211
      float factor1 = 0.22f*mScreenMin/OBJ_SIZE;
212
      float factor2 = 1.50f*factor1;
212
      float factor2 = 0.80f*factor1;
213 213
      mScale1.set(factor1,factor1,factor1);
214 214
      mScale2.set(factor2,factor2,factor2);
215 215
      mCenter.set((float)OBJ_SIZE/2, (float)OBJ_SIZE/2, -(float)OBJ_SIZE/2 );

Also available in: Unified diff