theseatoad / bevy-simple-2d-outline

2D outline materials for the bevy game engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WGSL 2d Outline Shader

Bevy tracking crates.io docs.rs

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

Screenshot 2022-12-29 at 12 28 41 AM

$ cargo run --example outline

Outline and texture

$ cargo run --example outline_and_texture

Rainbow Outline Gif

$ cargo run --example rainbow_outline

Rainbow Outline And Texture Gif

$ cargo run --example rainbow_outline_and_texture

Compatibility

Bevy bevy-simple-2d-outline
0.11 0.2.11
0.10 0.2.0

About

2D outline materials for the bevy game engine.

License:Apache License 2.0


Languages

Language:Rust 53.7%Language:WGSL 46.3%