three
Version:
JavaScript 3D library
20 lines (17 loc) • 333 B
TypeScript
import {
Uniform
} from '../../../src/Three';
export const ConvolutionShader: {
defines: {
KERNEL_SIZE_FLOAT: string;
KERNEL_SIZE_INT: string;
},
uniforms: {
tDiffuse: Uniform;
uImageIncrement: Uniform;
cKernel: Uniform;
};
vertexShader: string;
fragmentShader: string;
buildKernel( sigma: number ): number[];
};