Back home 🏡 WGSL Spec Bevy WGSL Functions

spatial_denoise.wgsl

Bindings

Name Group Binding index Binding type Type
ambient_occlusion_noisy # 0 0 texture_2d<f32>
depth_differences # 0 1 texture_2d<u32>
ambient_occlusion # 0 2 texture_storage_2d<r16float, write>
point_clamp_sampler # 1 0 sampler
linear_clamp_sampler # 1 1 sampler
view # 1 2 <uniform> View

Functions

spatial_denoise

#
@compute
fn spatial_denoise(global_id: vec3<u32>)
Parameter Type
global_id vec3<u32>