Feature #5
New Effect: blur
100%
Description
Add Gaussian blur. Maybe will force a re-design of the Effect architecture as this is going to be a two-pass effect.
History
Updated by Distorted Admin about 8 years ago
- Status changed from New to In Progress
- Assignee set to Distorted Admin
Updated by Distorted Admin almost 8 years ago
Commit 2b942cd0 adds naive implementation of blur. Issue not closed yet, though - still need to
a) add stencil attachment to the mBuffer FBO and only blur the objects which are actually blurred
b) convert the blur into a two-pass convolution of variable number (1,2 or 3) of passes of a arbitrarily broad box blur. (this will make the blur equally fast no matter what's the size of the kernel!)
Updated by Distorted Admin almost 8 years ago
- Status changed from In Progress to Closed
- % Done changed from 60 to 100
Commit ed841982 provides separable, fixed-function Gaussian Blur. A (2N+1)x(2N+1) sized kernel requires 2N+ (N%2==1 ? 2:4) texture fetches, propably the best one can do if one wants to be Gaussian-perfect.
To do: explore Kawase Blur.
Updated by Distorted Admin over 7 years ago
Commit 0ef8fafc finally adds full support for BLUR along with shared Postprocessing Buffers of any MIPMAP level and merging the resulting buffers into the rest of the scene taking into account the depth map!
'Multiblur' app checks this functionality.