pmndrs / pmndrs/postprocessing

Implement PoissonBlurMaterial

Open
#578 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.9k
Forks
251
Avg merge
17m
Merged PRs (30d)
1

Description

Description

Implement a PoissonBlurMaterial.

References:

Tasks
  • Create PoissonKernel util (see GaussKernel).
  • Create BlueNoiseTexture util.
  • Create PoissonBlurMaterial.
  • Add unit test.
Implementation Details
  • The blur shader must support bilateral convolution (depth and normals).
  • Depth and normals are separate input textures.
    • Consider adding support for a combined normal-depth input texture (normal-depth downsampling).
  • The blur kernel should use a Poisson disc distribution.
  • The shader should support rotating the sampling disc using blue noise.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing GaussKernel utility and the referenced PoissionBlur.js, BlueNoiseGenerator.js, and realism-effects denoise and utils implementations. Create the PoissonKernel, BlueNoiseTexture, and PoissonBlurMaterial, then add the requested unit test. Done means the shader supports Poisson-disc sampling, blue-noise rotation, and bilateral depth and normal convolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, three.js
Domain
computer-graphics, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.