Laplacian Edge Enhancement

Enhances image details by emphasizing edges through Laplacian filtering.

Parameters

tex0 Texture: The input texture to be filtered. Default: The entire canvas
canvasSize Vec2: The size of the texture used for sampling neighboring pixels. Default: The entire canvas
amount Float: Controls the strength of the enhancement. Higher values result in more pronounced edges. Default: 0.0

Example Parameters

laplacianEdgeEnhancement.setUniform('amount', 5.5);