Revision fba88037
Added by Leszek Koltunski over 7 years ago
| src/main/java/org/distorted/examples/postprocesstree/PostprocessTreeRenderer.java | ||
|---|---|---|
| 91 | 91 |
|
| 92 | 92 |
rootEffects.apply(new MatrixEffectMove(mMove)); |
| 93 | 93 |
rootEffects.apply(new MatrixEffectScale(mScale)); |
| 94 |
//rootEffects.apply(blurEffect);
|
|
| 94 |
rootEffects.apply(blurEffect); |
|
| 95 | 95 |
|
| 96 | 96 |
Dynamic1D rotate = new Dynamic1D(5000,0.0f); |
| 97 | 97 |
rotate.setMode(Dynamic1D.MODE_JUMP); |
| ... | ... | |
| 117 | 117 |
innerEffects.apply( new MatrixEffectMove(new Static3D( (OUTER-INNER)*LEAF_SIZE/2,(OUTER-INNER)*LEAF_SIZE/2, 0)) ); |
| 118 | 118 |
innerEffects.apply( new MatrixEffectRotate(rotate, axis, innerCenter) ); |
| 119 | 119 |
innerEffects.apply( new FragmentEffectChroma(new Static1D(0.5f), new Static3D(1,0,0) ) ); |
| 120 |
innerEffects.apply(blurEffect); |
|
| 120 |
//innerEffects.apply(blurEffect);
|
|
| 121 | 121 |
|
| 122 | 122 |
DistortedNode innerNode = new DistortedNode( new DistortedTexture(INNER*LEAF_SIZE,INNER*LEAF_SIZE), innerEffects, mesh); |
| 123 | 123 |
root.attach(innerNode); |
Also available in: Unified diff
'PostprocessTree' app: icon