Skip to content

Commit

Permalink
Add LINEAR and NEUTRAL tone mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
vanruesc committed Mar 2, 2024
1 parent e0bc171 commit ad2eee6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8354,22 +8354,26 @@ declare module "postprocessing" {
* A tone mapping mode enumeration.
*
* @type {Object}
* @property {Number} LINEAR - No tone mapping, only exposure.
* @property {Number} REINHARD - Simple Reinhard tone mapping.
* @property {Number} REINHARD2 - Modified Reinhard tone mapping.
* @property {Number} REINHARD2_ADAPTIVE - Simulates the optic nerve responding to the amount of light it is receiving.
* @property {Number} UNCHARTED2 - Uncharted 2 tone mapping. http://filmicworlds.com/blog/filmic-tonemapping-operators.
* @property {Number} OPTIMIZED_CINEON - Optimized filmic operator by Jim Hejl and Richard Burgess-Dawson.
* @property {Number} ACES_FILMIC - ACES tone mapping with a scale of 1.0/0.6.
* @property {Number} AGX - Filmic tone mapping. Requires three r160 or higher. https://github.com/EaryChow/AgX.
* @property {Number} NEUTRAL - Neutral tone mapping by Khronos. Requires three r162 or higher. https://modelviewer.dev/examples/tone-mapping.
*/
export enum ToneMappingMode {
LINEAR,
REINHARD,
REINHARD2,
REINHARD2_ADAPTIVE,
UNCHARTED2,
OPTIMIZED_CINEON,
ACES_FILMIC,
AGX,
NEUTRAL
}

/**
Expand Down

0 comments on commit ad2eee6

Please sign in to comment.