Revision 6637d0f2
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/examples/multiblur/MultiblurRenderer.java | ||
---|---|---|
29 | 29 |
import org.distorted.library.DistortedEffects; |
30 | 30 |
import org.distorted.library.DistortedScreen; |
31 | 31 |
import org.distorted.library.DistortedTexture; |
32 |
import org.distorted.library.EffectNames; |
|
32 | 33 |
import org.distorted.library.EffectTypes; |
33 | 34 |
import org.distorted.library.MeshCubes; |
34 | 35 |
import org.distorted.library.type.DynamicQuat; |
... | ... | |
169 | 170 |
mTex1.setTexture(bitmap1); |
170 | 171 |
mTex2.setTexture(bitmap2); |
171 | 172 |
|
173 |
DistortedEffects.enableEffect(EffectNames.BLUR); |
|
174 |
|
|
172 | 175 |
try |
173 | 176 |
{ |
174 | 177 |
Distorted.onCreate(mView.getContext()); |
Also available in: Unified diff
Speed up shaders (both compilation and execution) by explicitly enabling only the needed effects.