motion_blur.wgsl
Name | Group | Binding index | Binding type | Type | Shader Def |
---|---|---|---|---|---|
screen_texture
#
![]() |
0 | 0 | texture_2d<f32> | 🟢 MULTISAMPLED | |
motion_vectors
#
![]() |
0 | 1 | texture_multisampled_2d<f32> | 🟢 MULTISAMPLED | |
depth
#
![]() |
0 | 2 | texture_depth_multisampled_2d | 🟢 MULTISAMPLED | |
screen_texture
#
![]() |
0 | 0 | texture_2d<f32> | 🔴 MULTISAMPLED | |
motion_vectors
#
![]() |
0 | 1 | texture_2d<f32> | 🔴 MULTISAMPLED | |
depth
#
![]() |
0 | 2 | texture_depth_2d | 🔴 MULTISAMPLED | |
texture_sampler
#
![]() |
0 | 3 |
sampler
![]() |
||
settings
#
![]() |
0 | 4 | <uniform> | MotionBlur | |
globals
#
![]() |
0 | 5 | <uniform> | Globals |
Name | Type | Shader Def |
---|---|---|
shutter_angle |
f32
![]() |
|
samples |
u32
![]() |
|
_webgl2_padding |
vec2<f32>
![]() |
🟢 SIXTEEN_BYTE_ALIGNMENT |