pmndrs / pmndrs/postprocessing
Implement PixelationEffect
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 251
- Avg merge
- 17m
- Merged PRs (30d)
- 1
Description
Description
Implement a PixelationEffect.
References:
Tasks
- Create
PixelationEffect. - Create
pixelationdemo. - Add unit test.
Implementation Details
- Use G-Buffer textures (depth, normals).
- Check if
EdgeDetectionMaterialfrom SMAA can be reused. - Check if normal/depth outline code overlaps with
OutlineEffect.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the referenced three.js RenderPixelatedPass implementation. Then investigate whether SMAA's EdgeDetectionMaterial can be reused and how the normal/depth outline code overlaps with OutlineEffect. Done means a PixelationEffect, a pixelation demo, and a unit test are added.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, three.js
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100