| Crates.io | bevy_edge_detection |
| lib.rs | bevy_edge_detection |
| version | 0.15.4 |
| created_at | 2025-01-08 11:04:09.889126+00 |
| updated_at | 2025-01-14 06:41:34.699655+00 |
| description | A bevy plugin adding edge detection post processing effect |
| homepage | https://github.com/AllenPocketGamer/bevy_edge_detection |
| repository | |
| max_upload_size | |
| id | 1508409 |
| size | 1,510,675 |
bevy_edge_detection is a Bevy plugin that provides edge detection post-processing using a 3x3 Sobel filter. This plugin is designed to enhance your Bevy projects by adding visually distinct edges to your 3D scenes, making them more stylized or easier to analyze.

Edge Detection: Utilizes a 3x3 Sobel filter to detect edges based on depth, normal, and color variations.
Customizable Thresholds: Adjustable thresholds for depth, normal, and color to fine-tune edge detection.
Post-Processing Integration: Seamlessly integrates with Bevy's post-processing pipeline.
[dependencies]
bevy_edge_detection = "0.15.1"
use bevy::prelude::*;
use bevy_edge_detection::EdgeDetectionPlugin;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugin(EdgeDetectionPlugin::default())
.run();
}
EdgeDetection to Camera:commands.spawn((
Camera3d::default(),
Transform::default(),
EdgeDetection::default(),
));
cargo run --example 3d_shapes
This project is licensed under the MIT License.
Thanks to IceSentry, this project was inspired by bevy_mod_edge_detection.