UNPKG

polygonjs-engine

Version:

node-based webgl 3D engine https://polygonjs.com

20 lines (17 loc) 320 B
import { Uniform } from '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[]; };