motion_blur.wgsl

Bindings
Shader defs requirments:
š¢ MULTISAMPLED
@group(0)
@binding(0)
var
screen_texture:
texture_2d<f32>
Shader defs requirments:
š¢ MULTISAMPLED
@group(0)
@binding(1)
var
motion_vectors:
texture_multisampled_2d<f32>
Shader defs requirments:
š¢ MULTISAMPLED
@group(0)
@binding(2)
var
depth:
texture_depth_multisampled_2d
Shader defs requirments:
š“ MULTISAMPLED
@group(0)
@binding(0)
var
screen_texture:
texture_2d<f32>
Shader defs requirments:
š“ MULTISAMPLED
@group(0)
@binding(1)
var
motion_vectors:
texture_2d<f32>
Shader defs requirments:
š“ MULTISAMPLED
@group(0)
@binding(2)
var
depth:
texture_depth_2d
Structures
Functions
@fragment
Calculates the final color of each pixel on the screen