#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

#995 in #gamedev

Download history 7/week @ 2024-03-28 5/week @ 2024-04-04

231 downloads per month

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–780KB
~23K SLoC