Implement PixelationEffect

Open
#591 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, three.js

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.

Description

Description

Implement a PixelationEffect.

References:

Tasks
  • Create PixelationEffect.
  • Create pixelation demo.
  • Add unit test.
Implementation Details
  • Use G-Buffer textures (depth, normals).
  • Check if EdgeDetectionMaterial from SMAA can be reused.
  • Check if normal/depth outline code overlaps with OutlineEffect.
Dominant language
JavaScript
Stars
3k
Forks
266
Avg merge
6m
Merged PRs (30d)
1

Getting set up

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.

More from pmndrs/postprocessing

All issues in pmndrs/postprocessing

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.