Revision b88ec561
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/examples/effects3d/Effects3DRenderer.java | ||
---|---|---|
24 | 24 |
import android.opengl.GLSurfaceView; |
25 | 25 |
|
26 | 26 |
import org.distorted.examples.R; |
27 |
import org.distorted.library.effect.Effect; |
|
28 |
import org.distorted.library.effect.EffectType; |
|
27 | 29 |
import org.distorted.library.effect.MatrixEffectMove; |
28 | 30 |
import org.distorted.library.effect.MatrixEffectQuaternion; |
29 | 31 |
import org.distorted.library.effect.MatrixEffectScale; |
... | ... | |
300 | 302 |
mCenterTexture.setTexture(bitmapC); |
301 | 303 |
mRegionTexture.setTexture(bitmapR); |
302 | 304 |
|
303 |
Effects3DEffect.enableAllEffects(); |
|
305 |
Effect.enableEffects(EffectType.VERTEX); |
|
306 |
Effect.enableEffects(EffectType.FRAGMENT); |
|
307 |
Effect.enableEffects(EffectType.POSTPROCESS); |
|
304 | 308 |
|
305 | 309 |
try |
306 | 310 |
{ |
Also available in: Unified diff
Progress with the Earth app.