Revision 885b9cca
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/examples/wind/WindRenderer.java | ||
---|---|---|
28 | 28 |
import org.distorted.library.effect.MatrixEffectMove; |
29 | 29 |
import org.distorted.library.effect.MatrixEffectRotate; |
30 | 30 |
import org.distorted.library.effect.MatrixEffectScale; |
31 |
import org.distorted.library.effect.VertexEffectDeform; |
|
32 |
import org.distorted.library.effect.VertexEffectWave; |
|
31 | 33 |
import org.distorted.library.main.Distorted; |
32 | 34 |
import org.distorted.library.main.DistortedScreen; |
33 | 35 |
import org.distorted.library.main.MeshCubes; |
... | ... | |
131 | 133 |
|
132 | 134 |
mTexture.setTexture(bitmap); |
133 | 135 |
|
134 |
DistortedEffects.enableEffect(EffectName.DEFORM);
|
|
135 |
DistortedEffects.enableEffect(EffectName.WAVE);
|
|
136 |
VertexEffectDeform.enable();
|
|
137 |
VertexEffectWave.enable();
|
|
136 | 138 |
|
137 | 139 |
try |
138 | 140 |
{ |
Also available in: Unified diff
Move all the knowledge about Vertex and Fragment effects to their respective classes.