2 releases
0.1.1 | Jan 3, 2023 |
---|---|
0.1.0 | Dec 30, 2022 |
#2034 in Game dev
24KB
70 lines
WGSL 2d Outline Shader
2D outline materials written in wgsl for the bevy game engine.
Shaders
- Single color outline
- Single color outline with original texture
- Rainbow animated outline
- Rainbow animated outline with original texture
Examples

$ cargo run --example outline

$ cargo run --example outline_and_texture
$ cargo run --example rainbow_outline
$ cargo run --example rainbow_outline_and_texture
Dependencies
~37–51MB
~863K SLoC