Samarth Sevak Samarth Sevak - 9 months ago 81
Android Question

How to apply multiple effect on GLSurfaceView in Android?

Here is my code which works fine

mEffect = effectFactory.createEffect(EffectFactory.EFFECT_BLACKWHITE);
mEffect.setParameter("black", .9f);
mEffect.setParameter("white", .5f);
break;


but now I want two effects on it, what to do ?

mEffect = effectFactory.createEffect(EffectFactory.EFFECT_BLACKWHITE);
mEffect.setParameter("brightness", 2.0f);


I want to marge both effects with "grayscale image"

mEffect = effectFactory.createEffect(EffectFactory.EFFECT_GRAYSCALE);

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download