bevy_mod_outline/README.md

32 lines
553 B
Markdown
Raw Normal View History

2022-06-10 21:29:51 +00:00
# bevy_mod_outline
2022-06-13 22:23:35 +00:00
This crate provides a Bevy plugin for drawing outlines around meshes using the
vertex extrusion method.
2022-06-10 21:29:51 +00:00
## Dependency
```toml
[dependencies]
2022-08-05 01:38:44 +00:00
bevy_mod_outline = "0.2"
2022-06-10 21:29:51 +00:00
```
## Example
A rotating rounded cube with an outline.
```shell
cargo run --example cube
```
## Versions
| This Version | Bevy version |
|--------------|--------------|
| 0.1.x | 0.7.x |
2022-08-05 01:38:44 +00:00
| 0.2.x | 0.8.x |
2022-06-13 22:23:35 +00:00
## Known Issues
Vertex extrusion only works for meshes with smooth surface normals. Hard edges
2022-08-05 01:38:44 +00:00
will cause visual artefacts.