postprocessing icon indicating copy to clipboard operation
postprocessing copied to clipboard

feat: add MultiPassKawaseBlur pass

Open balraj-johal opened this issue 9 months ago • 3 comments

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.

balraj-johal avatar May 08 '24 22:05 balraj-johal