Skip to content

Implement DepthOfFieldEffect #569

Open
@vanruesc

Description

@vanruesc

Description

Implement a DepthOfFieldEffect based on the implementation in v6.

References:

Tasks

  • Create CoC shader.
  • Create blur shader.
  • Create DepthOfFieldEffect.
  • Create depth-of-field demo.
  • Add unit test.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions