Deform

Uses sine waves to deform.

Parameters

tex0 Texture: The input texture to be filtered. Default: The entire canvas
deformationAmount Float: The amount of deformation to apply based on a sine wave. Default: 0.0

Example Parameters

deform.setUniform('deformationAmount', 0.1);