Revision 6155c308
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/multiblur/MultiblurRenderer.java | ||
---|---|---|
144 | 144 |
|
145 | 145 |
void setQuality(EffectQuality quality) |
146 | 146 |
{ |
147 |
DistortedEffects effects; |
|
148 |
|
|
149 |
for(int i=0; i<NUM_OBJECTS; i++) |
|
150 |
{ |
|
151 |
effects = mNode[i].getEffects(); |
|
152 |
effects.setPostprocessingQuality(quality); |
|
153 |
} |
|
147 |
mBlur.setQuality(quality); |
|
154 | 148 |
} |
155 | 149 |
|
156 | 150 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Make Postprocessing quality per-effect (rather than applied to the whole queue)