| Crates.io | bevy-shaders |
| lib.rs | bevy-shaders |
| version | 0.2.0 |
| created_at | 2025-02-01 15:51:09.830956+00 |
| updated_at | 2025-02-01 20:55:20.526084+00 |
| description | A collection of shaders for Bevy 💠|
| homepage | https://github.com/SKY-ALIN/bevy-shaders |
| repository | https://github.com/SKY-ALIN/bevy-shaders |
| max_upload_size | |
| id | 1538536 |
| size | 152,338 |
It includes only 3 shaders now. Sorry, but this is temporary because it's just created />~<\

This crate is published on crates.io, so you can just type cargo add bevy_shaders
Step 1: Enable ShadersPlugin plugin.
use bevy::prelude::*;
use bevy_shaders::prelude::*;
fn main() {
App::new()
.add_plugins((DefaultPlugins, ShadersPlugin))
.run();
}
Step 2: Add a material you want. Availiable materials:
Only GPU-side rendred text, you don't have to render founts to texture and pass it to the shader. For light effect like here it uses emission, so don't forget to enable bloom shader.

Run this example using cargo run --example text and see the source code at /examples/text.
Randomly blinking led material. With it you don't have to make an animation for this effect.

Run this example using cargo run --example blinking_led and see the source code at /examples/blinking_led.
Under dual MIT and Apache-2.0 licenses, you can choose which one is more comfortable for you.