#graphics #gamedev #rust-gpu

tonemap

A collection of tonemapping algorithms

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

#939 in #gamedev

MIT license

4KB

🎨 tonemap

Crates.io Crates.io Crates.io


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–700KB
~22K SLoC