2个版本
0.1.1 | 2023年1月3日 |
---|---|
0.1.0 | 2022年12月30日 |
#1741 in 游戏开发
24KB
70 行
WGSL 2D轮廓着色器
为bevy游戏引擎编写的 wgsl 2D轮廓材质。
着色器
- 单色轮廓
- 单色轮廓与原始纹理
- 彩虹动画轮廓
- 彩虹动画轮廓与原始纹理
示例

$ cargo run --example outline

$ cargo run --example outline_and_texture
$ cargo run --example rainbow_outline
$ cargo run --example rainbow_outline_and_texture
依赖项
~42–56MB
~807K SLoC