Revision 2d90d8a7
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/blur/BlurRenderer.java | ||
---|---|---|
33 | 33 |
import org.distorted.library.MeshFlat; |
34 | 34 |
import org.distorted.library.type.Dynamic1D; |
35 | 35 |
import org.distorted.library.type.Static1D; |
36 |
import org.distorted.library.type.Static2D; |
|
37 | 36 |
import org.distorted.library.type.Static3D; |
38 | 37 |
|
39 | 38 |
import java.io.IOException; |
... | ... | |
67 | 66 |
Dynamic1D radiusDyn = new Dynamic1D(); |
68 | 67 |
radiusDyn.add(mRadiusSta); |
69 | 68 |
|
70 |
mEffects.blur(radiusDyn, new Static2D(0,0));
|
|
69 |
mEffects.blur(radiusDyn); |
|
71 | 70 |
} |
72 | 71 |
|
73 | 72 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Postprocessing effects: remove support for Center