From 3f114ebe5c4d3618504b0e623b52c22e262de854 Mon Sep 17 00:00:00 2001 From: soaos Date: Tue, 12 Aug 2025 23:17:55 -0400 Subject: Moved public files to root --- .../projects/bevy_outline_post_process/index.md | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 content/projects/bevy_outline_post_process/index.md (limited to 'content/projects/bevy_outline_post_process/index.md') diff --git a/content/projects/bevy_outline_post_process/index.md b/content/projects/bevy_outline_post_process/index.md deleted file mode 100644 index 3c828e6..0000000 --- a/content/projects/bevy_outline_post_process/index.md +++ /dev/null @@ -1,28 +0,0 @@ -+++ -title = "bevy_outline_post_process" -[taxonomies] -categories = ["bevy plugin"] -languages = ["rust", "wgsl"] -[extra] -github = ["soaosdev/bevy_outline_post_process"] -crates = ["bevy_outline_post_process"] -+++ - -this plugin allows you to add outlines to a camera as a post-processing effect in the bevy engine - -![0.1 threshold, 2.0 thickness](threshold_10.png) - -the effect makes use of a normal prepass to determine surface normals of objects in view, and then uses the differences between those normal values to determine where outlines should occur - -the effect is configurable, you can change the thickness of the outlines and the threshold (how significant the difference between normals need to be for an outline to appear) - -![0.1 threshold, 1.0 thickness](threshold_10_thin.png) -![0.1 threshold, 4.0 thickness](threshold_10_thick.png) - -there's also an option to enable *adaptive outlines*, so that darker areas get outlined with white and brighter areas are outlined with black - -![adaptive](threshold_10_adaptive.png) - -i created this effect to improve visual contrast in my game project, which is why i haven't added support for different colors - -you're free to add it yourself though, probably wouldn't be too hard -- cgit v1.2.3