Cartoon
Adds a cartoon effect by emphasizing edges and darkening them.
Parameters
texture
Texture: The input texture to be filtered. Default: The entire canvas
texOffset
Vec2: The offset used for sampling neighboring pixels. Default: (1.0 / width, 1.0 / height)
edgeThreshold
Float: The threshold value that determines whether a pixel is considered an edge pixel based on the difference between the center pixel and its neighbors. Default: 0.1