Newer
Older
HuangJiPC / public / static / three / examples / jsm / shaders / ConvolutionShader.d.ts
@zhangdeliang zhangdeliang on 21 Jun 333 bytes update
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[];
};