Project

General

Profile

« Previous | Next » 

Revision bddd4b2d

Added by Leszek Koltunski almost 6 years ago

Add OIT to the Effects3D app.

View differences:

src/main/java/org/distorted/examples/effects3d/Effects3DRenderer.java
195 195
      mRegionScalePoint.set(mFactorReg,mFactorReg,mFactorReg);
196 196
      }
197 197

  
198
///////////////////////////////////////////////////////////////////////////////////////////////////
199

  
200
    void useOIT(boolean use)
201
      {
202
      mScreen.setOrderIndependentTransparency(use);
203
      }
204

  
198 205
///////////////////////////////////////////////////////////////////////////////////////////////////
199 206

  
200 207
    public void onDrawFrame(GL10 glUnused)

Also available in: Unified diff