docs.rs failed to build bevy_lit-0.8.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
bevy_lit-0.9.1

bevy_lit
A simple 2D lighting library designed for Bevy.
Features
- Multiple light sources including
PointLight2d,SpotLight2dandTextureLight2d - Includes primitives
CustomLight2dPluginandLight2dMaterialfor defining custom light sources - Light occlusion through
LightOccluder2dthat can be used along side anyMesh2d - Per camera fine grain control over lighting parameters such as shadow softness and more
- Terraria-like light penetration effect
- Web support for WebGPU
Getting started
Installation
Install it using the CLI:
Or add bevy_lit to your Cargo.lock:
[]
= "*"
Usage
Below is a basic example demonstrating how to set up and use bevy_lit in your project:
use *;
use *;
Compatibility
bevy |
bevy_lit |
|---|---|
0.17 |
0.8 |
0.16 |
0.7 |
0.15 |
0.4..0.6 |
0.14 |
0.3 |
License
bevy_lit is licensed under the MIT License. See LICENSE for more details.