bevy_fast_light 0.5.0

Simple 2D lighting for Bevy focused on performance over features.
Documentation

Bevy Fast Light

License Crates.io Downloads Docs

Simple 2D lighting for Bevy focused on performance over features.

:warning: | This is still in development and not at all feature complete.

Features

  • Simple and fast PointLight2d light source with falloff configurable via inner and outer radius.
  • Simple and fast AmbientLight2d light source.

Limitations

  • There is currently no light occluders or shadow casting at all.

Usage

Take a look at /examples to find out how to use this crate.

Examples

ambient_light.rs

Scene with a light sky colored AmbientLight2d with a lower intensity, a green Rectangle as background and an amber PointLight2d.

point_light.rs

Scene with a green Rectangle as background and an amber PointLight2d.

texture_scale.rs

Scene with a green Rectangle as background and an amber PointLight2d using a lower texture_scale.

Alternatives

Resources

Code

Articles