Max Filter
Replaces each pixel with the maximum color value found in its neighborhood.
This effect behaves like a morphological dilation on color channels.
Separable Properties
| 🔑 | Properties | Range | Description | ||
|---|---|---|---|---|---|
| Kernel Size | [0, ∞) | The number of pixels sampled. | |||
| KernelOffset | (-∞, ∞) | Where the kernel should start relative to the pixel. This is set by the shader internally to center kernels (even-sized kernels are 0.5 to the right of the center). | |||
| Jump Size | (0, ∞) | Multiplies the sampling step size. Use values greater than 1 for faster, softer blurs. | |||
| Direction | — | The blur direction (1,0) for horizontal, (0,1) for vertical. Internally set by the renderer. |
Tip
Increasing the Jump Size can be a cheap way to fake a bigger kernel, but it does not always work.
