summit/frontend/node_modules/three-stdlib/shaders/TriangleBlurShader.d.ts

23 lines
544 B
TypeScript

import { Vector2 } from 'three';
/**
* Triangle blur shader
* based on glfx.js triangle blur shader
* https://github.com/evanw/glfx.js
*
* A basic blur filter, which convolves the image with a
* pyramid filter. The pyramid filter is separable and is applied as two
* perpendicular triangle filters.
*/
export declare const TriangleBlurShader: {
uniforms: {
texture: {
value: null;
};
delta: {
value: Vector2;
};
};
vertexShader: string;
fragmentShader: string;
};