UNPKG

three-stdlib

Version:

stand-alone library of threejs examples

22 lines (18 loc) 537 B
import { ShaderMaterial, Texture, WebGLRenderTarget } from 'three' import { Pass } from './Pass' export class SMAAPass extends Pass { constructor(width: number, height: number) edgesRT: WebGLRenderTarget weightsRT: WebGLRenderTarget areaTexture: Texture searchTexture: Texture uniformsEdges: object materialEdges: ShaderMaterial uniformsWeights: object materialWeights: ShaderMaterial uniformsBlend: object materialBlend: ShaderMaterial fsQuad: object getAreaTexture(): string getSearchTexture(): string }