UNPKG

@tresjs/cientos

Version:

Collection of useful helpers and fully functional, ready-made abstractions for Tres

8 lines (7 loc) 282 B
import { ShaderMaterial, Vector2 } from 'three'; export declare class ConvolutionMaterial extends ShaderMaterial { readonly kernel: Float32Array; constructor(texelSize?: Vector2); setTexelSize(x: number, y: number): void; setResolution(resolution: Vector2): void; }