/
Environment_ToneMapper.hx
34 lines (28 loc) · 1.67 KB
/
Environment_ToneMapper.hx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Automatically generated Godot externs: DO NOT EDIT
// MIT licensed, see LICENSE.md
package godot;
@:native("Godot.Environment.ToneMapper")
@:csNative
extern enum Environment_ToneMapper {
/**
Linear tonemapper operator. Reads the linear data and passes it on unmodified. This can cause bright lighting to look blown out, with noticeable clipping in the output colors.
**/
Linear;
/**
Reinhardt tonemapper operator. Performs a variation on rendered pixels' colors by this formula: `color = color / (1 + color)`. This avoids clipping bright highlights, but the resulting image can look a bit dull.
**/
Reinhardt;
/**
Filmic tonemapper operator. This avoids clipping bright highlights, with a resulting image that usually looks more vivid than `godot.Environment_ToneMapper.reinhardt`.
**/
Filmic;
/**
Use the legacy Godot version of the Academy Color Encoding System tonemapper. Unlike `godot.Environment_ToneMapper.acesFitted`, this version of ACES does not handle bright lighting in a physically accurate way. ACES typically has a more contrasted output compared to `godot.Environment_ToneMapper.reinhardt` and `godot.Environment_ToneMapper.filmic`.
Note: This tonemapping operator will be removed in Godot 4.0 in favor of the more accurate `godot.Environment_ToneMapper.acesFitted`.
**/
Aces;
/**
Use the Academy Color Encoding System tonemapper. ACES is slightly more expensive than other options, but it handles bright lighting in a more realistic fashion by desaturating it as it becomes brighter. ACES typically has a more contrasted output compared to `godot.Environment_ToneMapper.reinhardt` and `godot.Environment_ToneMapper.filmic`.
**/
AcesFitted;
}