[QUOTE=Hyllian;36728]It looks great! The slopes in level 6 are very good!
Maybe there’s some way to blur a bit less than xSoft, to make it a bit more crispy. IMO, I think that xSoft damage the colors too much.[/QUOTE]
I think i can help a bit. I added a de-blur code section to the 4xSoft which makes it more crispy, in fact, it’s very customizable.
I’ll explain how to tweak it.
This code line manages it all: float filterparam = clamp(2.25*dif, 1.0, 2.0);
If you use for example: float filterparam = clamp(2.25*dif, 1.0, 1.0); then there will be no change compared with 4xSoft.
If you use float filterparam = clamp(2.25*dif, 2.0, 2.0); instead, then every “situation” will get deblured with factor 2.0.
Another interesting setup could be: float filterparam = clamp(2.75*dif, 0.25, 2.0); where similar pixels will get additional blur while there will be sharp contrast on the whole.
The algorithm evaluates the situation (surrounding pixels) and calculates how much deblur it applies, but it must be clamped, because filter values below 1.0 blur the image additionally. (can be helpful sometimes).
If we clamp the value between 1.0 and 2.0 then similar looking pixels will stay original while “sharp” situations will get deblured depending from the situation.
It’s a subject of testing and personal preferences…
I hope this shader will be helpful for the excellent ScaleFX or any other filter (high regards to the author) and a satisfying setup will be found / used.
Best regards, guest.r