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]
|
|
|
|
bevy_mod_outline = "0.1"
|
|
|
|
```
|
|
|
|
|
|
|
|
## 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-06-13 22:23:35 +00:00
|
|
|
|
|
|
|
## Known Issues
|
|
|
|
|
|
|
|
Vertex extrusion only works for meshes with smooth surface normals. Hard edges
|
|
|
|
will cause visual artefacts.
|