Shader filter

Grain, vignettes, and other WGSL passes drawn through WebGPU, layered over ordinary content.

0:00 / 0:01

Installation

pnpm odori add component shader-filter

Edit the source in videos/components/shader-filter/. Use odori diff to compare upstream changes and odori update to apply updates. Also installs shader-stage. Requires vgpu, so add it to the project: npm install vgpu

Timing contract

Use these durations and content limits when composing a scene. Run odori test to check your video.

Family
Shaders
Recommended duration
150 frames · 5s
Minimum duration
24 frames · 0.8s
Entrance
0 frames
Exit
0 frames
Reduced motion
motion is the shader's own; pass calmer uniforms
Requires
vgpu (npm)
Content limits
none

Related components

All components