Description
Implement a DepthOfFieldEffect based on the implementation in v6.
References:
Tasks
Implementation Details
- Check the linked article for potential improvements.
- Should be done after
PoissonBlurMaterial has been implemented.
- The CoC should be calculated based on fragment distance instead of depth.
- Add support for logarithmic depth.
- Consider adding options for fringe/chromatic aberration and luminance gain.
Description
Implement a
DepthOfFieldEffectbased on the implementation in v6.References:
Tasks
DepthOfFieldEffect.depth-of-fielddemo.Implementation Details
PoissonBlurMaterialhas been implemented.