#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

#1141 in #gamedev

Download history 3/week @ 2024-09-22 2/week @ 2024-09-29

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–1MB
~31K SLoC