Revision a16bf106
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/library/effect/PostprocessEffectGlow.java | ||
---|---|---|
171 | 171 |
float offsetCorrW = corrW/w; |
172 | 172 |
float offsetCorrH = corrH/h; |
173 | 173 |
|
174 |
// try tracking the bug when sometimes the size of the GLOW overlay is wrong |
|
175 |
android.util.Log.e("glow", "w="+w+" h="+h+" corrW="+corrW+" corrH="+corrH); |
|
176 |
|
|
174 | 177 |
int radius = (int)(uniforms[index]*mQualityScale); |
175 | 178 |
if( radius>=MAX_HALO ) radius = MAX_HALO-1; |
176 | 179 |
computeGaussianKernel(radius); |
Also available in: Unified diff
Make the Effects3D app a bit more user-friendly.