1 unstable release
0.0.1 | Jan 15, 2023 |
---|
#7 in #anti-aliasing
21KB
271 lines
wpp
Flexible and reusable post-processing effects for wgpu
.
The name wpp
is an acronym for wgpu
post-processing and it basically does what it says. This library will provide a collection of post-processing effects that you can easily integrate into your rendering pipeline.
Features
- All effects are implemented in
wgsl
and pure Rust only - Integrates easily into an existing rendering pipeline
- Small footprint and API surface
- No dependencies apart from
wgpu
Limitations
- Currently no support for multisampled textures
Available Effects / Cargo Features
Name | Description |
---|---|
grayscale |
A grayscale post-processing effect mainly used for API testing. |
By default all effects are enabled. However you can selectively enable a subset of available effects by using default-features = false
and then enabling the desired effect(s) manually using the above cargo features.
Development
Whenever a change is made, the following commands should be (successfully) run before commiting:
cargo test
cargo clippy
cargo fmt
License
All code in this repository is dual-licensed under either:
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~2–14MB
~168K SLoC