Revision babda153
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/examples/glow/GlowRenderer.java | ||
---|---|---|
69 | 69 |
mScale = new Static3D(1,1,1); |
70 | 70 |
mRadius= new Static1D(25); |
71 | 71 |
|
72 |
mColor = new Static4D(1.0f,1.0f,0.0f,0.5f); // half-transparent yellow
|
|
72 |
mColor = new Static4D(1.0f,0.0f,0.0f,0.5f); // half-transparent red
|
|
73 | 73 |
|
74 | 74 |
DistortedEffects effects = new DistortedEffects(); |
75 | 75 |
effects.apply(new MatrixEffectMove(mMove)); |
... | ... | |
78 | 78 |
|
79 | 79 |
mScreen = new DistortedScreen(); |
80 | 80 |
mScreen.attach(mLeaf, effects, new MeshFlat(1,1) ); |
81 |
mScreen.glClearColor(1.0f, 1.0f, 1.0f, 1.0f); |
|
81 | 82 |
} |
82 | 83 |
|
83 | 84 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Improve 'Glow' app.