Go to file
Robin KAY 824e4bc51f Fix clippy lint and bad formatting. 2022-06-14 20:25:46 +01:00
.github/workflows Initial commit. 2022-06-10 22:29:51 +01:00
examples Pass logical view size to outline shader. 2022-06-14 02:29:12 +01:00
src Fix clippy lint and bad formatting. 2022-06-14 20:25:46 +01:00
.gitignore Initial commit. 2022-06-10 22:29:51 +01:00
Cargo.toml Make Outline a RenderAsset and pass parameters to shader. 2022-06-13 21:20:49 +01:00
LICENCE-APACHE Initial commit. 2022-06-10 22:29:51 +01:00
LICENCE-MIT Initial commit. 2022-06-10 22:29:51 +01:00
README.md Improve documentation slightly. 2022-06-13 23:23:35 +01:00

README.md

bevy_mod_outline

This crate provides a Bevy plugin for drawing outlines around meshes using the vertex extrusion method.

Dependency

[dependencies]
bevy_mod_outline = "0.1"

Example

A rotating rounded cube with an outline.

cargo run --example cube

Versions

This Version Bevy version
0.1.x 0.7.x

Known Issues

Vertex extrusion only works for meshes with smooth surface normals. Hard edges will cause visual artefacts.