Distance Field
Extra Passes
Allows for extra passes at the smallest step mark to improve on any inaccuracies that may be present. This does however incur a full render pass cost on top of the existing render passes.
Process Mask Size
This is an optimisation that can improve the performance of distance field generation. It also limits how much of the output result gets rendered to. The value increases in powers of two however the process mask itself expands for each level so it's not a 1:1 correlation.
Max Pixel Distance
This is another optimisation. This limits the number of passes performed by the Jump Flood Algorithm which is the algorithm used to generate the distance field. The passes themselves are a descending power of 2.
Normally a full screen distance field will perform a number of passes relative to the viewport resolution. For example, a resolution of 1080p starts at the nearest power of 2 higher which would be 2048 and then runs for 11 passes.
However, if you only needed an outline of a maximum of 32 pixels thick, you can use the max pixel distance so that it runs for just 5 passes.
Last updated