Builtin Library
- ..
- README.md379 B
- module.wgsl1.2 KB
README.md
mb_velocity
Turns the scene's per-pixel velocity into the travel a shutter actually catches:
shuttered_velocity, scaled by the shutter fraction and capped at one tile.
A pass that reads velocity includes this and declares a motion_blur_params
buffer binding, which the function reads:
#include "@builtin::systems.motionBlur.mb_velocity"
Includes mb_tile.