bevy_simple_2d_outline

Crates.iobevy_simple_2d_outline
lib.rsbevy_simple_2d_outline
version0.1.1
sourcesrc
created_at2022-12-30 00:24:02.330241
updated_at2023-01-03 03:09:09.526195
description2D outline materials for the bevy game engine
homepagehttps://github.com/theseatoad/bevy-simple-2d-outline
repositoryhttps://github.com/theseatoad/bevy-simple-2d-outline
max_upload_size
id747611
size94,115
TheSeaToad (theseatoad)

documentation

README

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
Commit count: 16

cargo fmt