CLASSES
TagsA - Z

ConvolutionPostProcess

PostProcess

Description

class ConvolutionPostProcess extends PostProcess

Builtin postprocess applying a kernel matrix to every pixel

Constructor

new ConvolutionPostProcess(name, kernel, options, PostProcessOptions, camera, samplingMode, engine, reusable)

Parameters

Name Type Description
name string The postprocess name
kernel number[] The matrix to apply
options number or PostProcessOptions
camera Camera The scene camera linked to this post process
optional samplingMode number Texture.NEAREST_SAMPLINGMODE, Texture.BILINEAR_SAMPLINGMODE or Texture.TRILINEAR_SAMPLINGMODE
optional engine Engine The engine to attach the postprocess.

Members

kernel : number[]

The kernel matrix

static EdgeDetect0Kernel : number[]

Edge Detect 0 Kernel

static EdgeDetect1Kernel : number[]

Edge Detect 1 Kernel

static EdgeDetect2Kernel : number[]

Edge Detect 2 Kernel

static SharpenKernel : number[]

Sharpen Kernel

static EmbossKernel : number[]

Emboss Kernel

static GaussianKernel : number[]