auto_exposure.wgsl
Name | Group | Binding index | Binding type | Type |
---|---|---|---|---|
globals
#
![]() |
0 | 0 | <uniform> | Globals |
settings
#
![]() |
0 | 1 | <uniform> | AutoExposure |
tex_color
#
![]() |
0 | 2 | texture_2d<f32> | |
tex_mask
#
![]() |
0 | 3 | texture_2d<f32> | |
tex_compensation
#
![]() |
0 | 4 | texture_1d<f32> | |
compensation_curve
#
![]() |
0 | 5 | <uniform> | CompensationCurve |
histogram
#
![]() |
0 | 6 | <storage, read_write> |
array<atomic<u32>, 64>
![]() |
exposure
#
![]() |
0 | 7 | <storage, read_write> |
f32
![]() |
view
#
![]() |
0 | 8 | <storage, read_write> | View |
Name | Type |
---|---|
min_log_lum |
f32
![]() |
inv_log_lum_range |
f32
![]() |
log_lum_range |
f32
![]() |
low_percent |
f32
![]() |
high_percent |
f32
![]() |
speed_up |
f32
![]() |
speed_down |
f32
![]() |
exponential_transition_distance |
f32
![]() |
Parameter | Type |
---|---|
hdr |
vec3<f32>
![]() |
Parameter | Type |
---|---|
coords |
vec2<f32>
![]() |