postprocessing
postprocessing copied to clipboard
feat: add MultiPassKawaseBlur pass
Related issue: https://github.com/pmndrs/postprocessing/issues/580
Description
Adds a MultiPassKawaseBlur pass, Adds the aforementioned pass to the blur demo, comparing it against the GaussianBlur pass, Adds associated tests.
Notes
@vanruesc I've allowed the Kawase Blur pass to be applied at a custom number of levels, as I thought this may be more flexible than the default dual pass approach. There might be tradeoffs to this I'm not aware of however, and so have made these changes in a commit I can easily revert if it's preferred to do so.
I've also left the previously existing KawaseBlurMaterial, as the Tilt Shift effect relies on it, and I wanted to get this in first.
I've left some TODO comments in the two areas I'm a little unsure about.