VZout / tonemap

A collection of tone mapping algorithms for rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🎨 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();
spirv_std::Vec3::zero().filmic();
// ...

Algorithms

  • Exposure Correct
  • Gamma Correct
  • Linear
  • Reinhard
  • ACES
    • High Quality
    • High Performance
  • Unreal 3
  • Lottes
  • Uchimura
  • Filmic
  • RomBinDaHouse
  • Reinhard
    • Simple
    • Luma Based
    • White Preserving
  • Haarm-Peter Duiker
  • Uncharted 2
  • Sigmoid Contrast

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

About

A collection of tone mapping algorithms for rust.


Languages

Language:Rust 100.0%