Go to file
Robin KAY 5c5c4dc5d9 Add optional vertex attribute for outline normals. 2022-08-07 22:16:39 +01:00
.github/workflows Initial commit. 2022-06-10 22:29:51 +01:00
examples Add optional vertex attribute for outline normals. 2022-08-07 22:16:39 +01:00
src Add optional vertex attribute for outline normals. 2022-08-07 22:16:39 +01:00
.gitignore Initial commit. 2022-06-10 22:29:51 +01:00
Cargo.toml Add optional vertex attribute for outline normals. 2022-08-07 22:16:39 +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 Bump version to 0.2. 2022-08-05 02:38:44 +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.2"

Example

A rotating rounded cube with an outline.

cargo run --example cube

Versions

This Version Bevy version
0.1.x 0.7.x
0.2.x 0.8.x

Known Issues

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