4 releases
| 0.0.4 | Oct 24, 2020 |
|---|---|
| 0.0.3 | Oct 24, 2020 |
| 0.0.2 | Oct 24, 2020 |
| 0.0.1 | Oct 24, 2020 |
#7 in #rust-gpu
231 downloads per month
4KB
🎨 tonemap
A collection of tone mapping algorithms for Rust
Usage
use tonemap::filmic::*;
0f32.filmic();
[0f32, 0f32, 0f32].filmic();
glam::Vec3::zero().filmic();
// ...
Algorithms
- Filmic
- Reinhard
- ACES
Third party libraries
The tone mapping traits are implemented for the following libraries as well:
| feature | library |
|---|---|
glam_support |
glam |
spirv-std-support |
spirv-std |
Dependencies
~0–1.4MB
~43K SLoC