ssao.wgsl
Name | Group | Binding index | Binding type | Type |
---|---|---|---|---|
preprocessed_depth
#
![]() |
0 | 0 | texture_2d<f32> | |
normals
#
![]() |
0 | 1 | texture_2d<f32> | |
hilbert_index_lut
#
![]() |
0 | 2 | texture_2d<u32> | |
ambient_occlusion
#
![]() |
0 | 3 | texture_storage_2d<r16float, write> | |
depth_differences
#
![]() |
0 | 4 | texture_storage_2d<r32uint, write> | |
globals
#
![]() |
0 | 5 | <uniform> | Globals |
thickness
#
![]() |
0 | 6 | <uniform> |
f32
![]() |
point_clamp_sampler
#
![]() |
1 | 0 |
sampler
![]() |
|
linear_clamp_sampler
#
![]() |
1 | 1 |
sampler
![]() |
|
view
#
![]() |
1 | 2 | <uniform> | View |
Parameter | Type |
---|---|
pixel_coordinates |
vec2<i32>
![]() |
Parameter | Type |
---|---|
pixel_coordinates |
vec2<i32>
![]() |
Parameter | Type |
---|---|
uv |
vec2<f32>
![]() |
Parameter | Type |
---|---|
depth |
f32
![]() |
uv |
vec2<f32>
![]() |
Parameter | Type |
---|---|
uv |
vec2<f32>
![]() |
sample_mip_level |
f32
![]() |
Parameter | Type |
---|---|
min_horizon |
f32
![]() |
max_horizon |
f32
![]() |
samples_per_slice |
f32
![]() |
bitmask |
u32
![]() |