diff --git a/cuburn/filters.py b/cuburn/filters.py index 91313b9..f55bfbd 100644 --- a/cuburn/filters.py +++ b/cuburn/filters.py @@ -135,6 +135,12 @@ class SmearClip(Filter, ClsMod): tref.set_address_2d(fb.d_back, dsc, 16 * dim.astride) launch2('full_blur', self.mod, stream, dim, fb.d_side, i32(3), i32(0), texrefs=[tref]) + tref.set_address_2d(fb.d_side, dsc, 16 * dim.astride) + launch2('full_blur', self.mod, stream, dim, + fb.d_back, i32(0), i32(0), texrefs=[tref]) + tref.set_address_2d(fb.d_back, dsc, 16 * dim.astride) + launch2('full_blur', self.mod, stream, dim, + fb.d_side, i32(1), i32(0), texrefs=[tref]) launch2('smearclip', self.mod, stream, dim, fb.d_front, fb.d_side, f32(gam-1), lin, lingam) diff --git a/cuburn/genome/specs.py b/cuburn/genome/specs.py index d2b7c3a..7f8f9e3 100644 --- a/cuburn/genome/specs.py +++ b/cuburn/genome/specs.py @@ -52,7 +52,7 @@ filters = ( , 'curve': scalespline(0.6, d='Power of filter radius with density') } , 'haloclip': {} - , 'smearclip': {'width': scalespline(1, d='Spatial stdev of filter')} + , 'smearclip': {'width': scalespline(0.7, d='Spatial stdev of filter')} , 'logscale': {'brightness': scalespline(4, d='Log-scale brightness')} })