mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 18:29:39 +02:00
19 lines
333 B
TypeScript
19 lines
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[];
|
|
};
|