https://github.com/bevy-rust-gpu/bevy-pbr-rust
rust-gpu port of bevy-pbr
https://github.com/bevy-rust-gpu/bevy-pbr-rust
bevy bevy-pbr rust rust-gpu
Last synced: 10 months ago
JSON representation
rust-gpu port of bevy-pbr
- Host: GitHub
- URL: https://github.com/bevy-rust-gpu/bevy-pbr-rust
- Owner: Bevy-Rust-GPU
- License: apache-2.0
- Created: 2023-02-28T03:11:51.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T18:33:08.000Z (about 2 years ago)
- Last Synced: 2025-03-22T22:40:02.836Z (11 months ago)
- Topics: bevy, bevy-pbr, rust, rust-gpu
- Language: Rust
- Homepage:
- Size: 3.12 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# `bevy-pbr-rust`
[](https://bevy-rust-gpu.github.io/bevy-pbr-rust/)
A Rust reimplementation of `bevy_pbr`'s WGSL shaders.
## Implementation
Shader def conditionals are implemented using compile-time trait generics, and entrypoint permutations are generated via `permutate-macro`.
## Compatibility
At time of writing, `rust-gpu` only supports read-write access to storage buffers,
which renders its implementation incompatible with the read-only buffers bevy uses to store light and cluster data on supported platforms.
As such, consuming bevy applications should make sure to force storage buffers off via `WgpuSettings`.
This is taken care of automatically if using `bevy-rust-gpu`.