Revision da412a40
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/examples/meshjoin/MeshJoinRenderer.java | ||
---|---|---|
123 | 123 |
mScreen.attach(mTexture,mEffects,mMesh); |
124 | 124 |
|
125 | 125 |
DistortedLibrary.setMax(EffectType.VERTEX, 7); |
126 |
VertexEffectSink.enable(); |
|
126 | 127 |
|
127 | 128 |
try |
128 | 129 |
{ |
... | ... | |
224 | 225 |
effect3.setMeshAssociation(15); // apply to all 4 meshes |
225 | 226 |
effect4.setMeshAssociation(14); // apply to mesh[1], [2] and [3] |
226 | 227 |
effect5.setMeshAssociation( 2); // apply only to mesh[1] |
227 |
effect6.setMeshAssociation( 0); // apply onlt to mesh[2]
|
|
228 |
effect7.setMeshAssociation( 0); // apply only to mesh[3]
|
|
228 |
effect6.setMeshAssociation( 4); // apply onlt to mesh[2]
|
|
229 |
effect7.setMeshAssociation( 8); // apply only to mesh[3]
|
|
229 | 230 |
|
230 | 231 |
result.apply(effect1); |
231 | 232 |
result.apply(effect2); |
Also available in: Unified diff
Fix VertexEffectRotate.
'MeshJoin' app now back it its functionality from 'master'