@luma.gl/shadertools
Version:
Shader module system for luma.gl
11 lines (9 loc) • 410 B
TypeScript
import {ShaderPass} from '../../types';
/**
* @filter Triangle Blur
* @description This is the most basic blur filter, which convolves the image with a
* pyramid filter. The pyramid filter is separable and is applied as two
* perpendicular triangle filters.
* @param radius The radius of the pyramid convolved with the image.
*/
export const triangleBlur: ShaderPass;