Go to file
Robin KAY a792cca681 Fix phase item sorting to use ComputedOutlineDepth. 2022-11-21 23:44:52 +00:00
.github/workflows Initial commit. 2022-06-10 22:29:51 +01:00
assets Add support for jointed (skinned) models. 2022-10-12 18:31:02 +01:00
examples Add offset field to OutlineStencil and offset_zero flag to pipeline key. 2022-11-21 20:32:25 +00:00
src Fix phase item sorting to use ComputedOutlineDepth. 2022-11-21 23:44:52 +00:00
.gitignore Initial commit. 2022-06-10 22:29:51 +01:00
CHANGELOG.md Update version and change-log for 0.2.4. 2022-10-12 18:44:05 +01:00
Cargo.toml Change mesh pipeline key to a bitfield. 2022-11-20 21:40:22 +00: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 Fix typo. 2022-08-23 23:01:01 +01:00

README.md

bevy_mod_outline

crates.io docs

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 cube and torus with outlines.

cargo run --example shapes

Versions

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

Features

  • align16 (default) - Aligns uniform structs to 16-byte boundaries. This is required by WebGL and some downlevel GPUs.
  • bevy_ui (default) - Adds a render graph edge to prevent clashing with the UI. This adds a dependency on the bevy_ui crate and can be disabled if it is not used.

Licence

This crate is licensed under the Apache License, Version 2.0 (see LICENCE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) or the MIT licence (see LICENCE-MIT or http://opensource.org/licenses/MIT), at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.