Module tonemapping

Source
Expand description

Structs§

Tonemap
TonemapConstants
Tonemapping
Conducts HDR tone mapping.

Functions§

bindgroup_layout
create_bindgroup
linear_to_srgb
Linear to sRGB approximation. See http://chilliant.blogspot.com/2012/08/srgb-approximations-for-hlsl.html
srgb_to_linear
sRGB to linear approximation. See http://chilliant.blogspot.com/2012/08/srgb-approximations-for-hlsl.html
srgba_to_linear
sRGB to linear approximation. See http://chilliant.blogspot.com/2012/08/srgb-approximations-for-hlsl.html
tone_map_aces_hill
tone_map_aces_narkowicz
ACES tone map (faster approximation) see: https://knarkowicz.wordpress.com/2016/01/06/aces-filmic-tone-mapping-curve
tone_map_reinhard
tonemap
tonemapping_fragment
tonemapping_vertex