pmndrs / postprocessing

A post processing library for three.js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement OutlineEffect

vanruesc opened this issue · comments

Description

Implement an OutlineEffect.

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

  • Use EdgeDetectionMaterial or create SobelMaterial.
  • Create OutlineEffect.
  • Create outline demo.
  • Add unit test.

Implementation Details

  • Use G-Buffer components (depth, normals).
  • Edge threshold, color and thickness should be configurable.