1 unstable release

0.0.1 Jan 15, 2023

#7 in #post-processing

MIT/Apache

21KB
271 lines

wpp

Crates.io docs.rs

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:

  1. cargo test
  2. cargo clippy
  3. cargo fmt

License

All code in this repository is dual-licensed under either:

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–13MB
~127K SLoC