bevy_mod_edge_detection 0.1.0

A simple plugin to add an edge detection shader to bevy
Documentation
  • Coverage
  • 0%
    0 out of 12 items documented0 out of 2 items with examples
  • Size
  • Source code size: 559.5 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 6.95 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • IceSentry/bevy_mod_edge_detection
    26 9 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • IceSentry

bevy_mod_edge_detection

A simple plugin to add full screen edge detection.

image

Implementation details

The implementation is mostly based on what is described in this article.

https://alexanderameye.github.io/notes/rendering-outlines/#edge-detection

Essentially, it runs the sobel operator on the depth, normal and color textures. The sobel operator is able to determine discontinuity in those textures and the shader will simply draw those discontinuity.

Getting Started

See the examples/simples.rs example