bevy_fast_light 0.3.1

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.
  • PointLight2d does not look nice with low ambient light.

Usage

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

Examples

ambient_light.rs

Basic scene with a blue AmbientLight2d, a red rectangle as background and a PointLight2d of the same color.

point_light.rs

Basic scene with a green rectangle as background and a PointLight2d of the same color.

Alternatives

Inspired by