Builtin Library
- ..
- README.md342 B
- module.wgsl3.2 KB
README.md
sss_diffuse
One separable subsurface-diffusion blur. The including shader defines AXIS —
the direction this pass blurs along — so the same body serves the horizontal and
the vertical halves of the separable pair.
const AXIS: vec2<f32> = vec2<f32>(1.0, 0.0);
#include "@builtin::systems.subsurfaceScattering.sss_diffuse"