ConvolutionShader.d.ts 333 B

12345678910111213141516171819
  1. import {
  2. Uniform
  3. } from '../../../src/Three';
  4. export const ConvolutionShader: {
  5. defines: {
  6. KERNEL_SIZE_FLOAT: string;
  7. KERNEL_SIZE_INT: string;
  8. },
  9. uniforms: {
  10. tDiffuse: Uniform;
  11. uImageIncrement: Uniform;
  12. cKernel: Uniform;
  13. };
  14. vertexShader: string;
  15. fragmentShader: string;
  16. buildKernel( sigma: number ): number[];
  17. };