docs.rs failed to build bevy_lit-0.7.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.6.0
bevy_lit
A simple 2D lighting library designed for Bevy. It provides basic lighting features through the types:
Lighting2dSettings
: Controls lighting parameters such as shadow softness.AmbientLight2d
: Provides a general light source that illuminates the entire scene uniformly.PointLight2d
: Emits light from a specific point, simulating light sources like lamps or torches.LightOccluder2d
: Creates shadows and blocks light fromPointLight2d
along side anyMesh2d
.
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.16 |
0.7 |
0.15 |
0.4..0.6 |
0.14 |
0.3 |
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
License
bevy_lit
is licensed under the MIT License. See LICENSE for more details.