pmndrs / pmndrs/postprocessing

Implement EdgeEffect

Open
#583 0 comments 1 reaction 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

Related: #393

Implement an EdgeEffect.

This effect should focus only on rendering object feature edges for the whole scene. Selective object highlighting will be implemented in a different way.

References:

Tasks
  • Create SobelMaterial and SobelPass.
  • Create EdgeEffect that uses SobelPass to generate an edge texture.
  • Create edge demo under special-effects.
  • Add unit test.
Implementation Details
  • Use G-Buffer components (depth, normals).
  • Edge threshold, color and thickness should be configurable.

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 with related issue #393 and the listed Sobel-outline references to understand the intended rendering approach. The issue names the required entry points—SobelMaterial, SobelPass, EdgeEffect, the special-effects edge demo, and a unit test; done means all four tasks are implemented with configurable threshold, color, and thickness.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.