Revision 7451c98a
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/fbo/FBORenderer.java | ||
---|---|---|
125 | 125 |
int textWidth = bitmap2.getWidth(); |
126 | 126 |
int textHeight= bitmap2.getHeight(); |
127 | 127 |
|
128 |
DistortedTexture lisa = new DistortedTexture(lisaWidth,lisaHeight,0);
|
|
129 |
DistortedTexture text = new DistortedTexture(textWidth,textHeight,0);
|
|
128 |
DistortedTexture lisa = new DistortedTexture(lisaWidth,lisaHeight); |
|
129 |
DistortedTexture text = new DistortedTexture(textWidth,textHeight); |
|
130 | 130 |
lisa.setTexture(bitmap1); |
131 | 131 |
text.setTexture(bitmap2); |
132 | 132 |
DistortedEffectQueues textQueues = new DistortedEffectQueues(); |
Also available in: Unified diff
Hide the 'depth' of a DistortedTexture inside the library, so users do not get exposed to this weirdness.