-
-
Notifications
You must be signed in to change notification settings - Fork 239
Open
Milestone
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:
- https://roystan.net/articles/outline-shader/
- https://gamedev.stackexchange.com/questions/68401/how-can-i-draw-outlines-around-3d-models
- https://docs.blender.org/manual/en/2.79/render/blender_render/post_processing/edges.html
- https://github.com/gkjohnson/threejs-sandbox/tree/master/sobel-outline
- https://www.vertexfragment.com/ramblings/unity-postprocessing-sobel-outline/
Tasks
- Create
SobelMaterialandSobelPass. - Create
EdgeEffectthat usesSobelPassto generate an edge texture. - Create
edgedemo underspecial-effects. - Add unit test.
Implementation Details
- Use G-Buffer components (depth, normals).
- Edge threshold, color and thickness should be configurable.
jo-chemla
Metadata
Metadata
Assignees
Labels
No labels