omega

About

Kawase Blur effect.

Examples

Usage

import { KawaseBlurPass } from 'omega/dist/KawaseBlur.js'

Docs

KawaseBlurPass

const kblur = new KawaseBlurPass({ 
  renderer,               // WebGLRenderer
  kernels: [0,1,2,2,3]    // kernels
})

kblur.getKernels()        // get current kernals clone
kblur.setKernels([0])     // set new kernals

Credits

Intel / An investigation of fast real-time GPU-based image blur algorithms