postprocessing - v7.0.0-beta.16
    Preparing search index...

    Class SMAAWeightsMaterial

    Subpixel Morphological Antialiasing.

    This material computes weights for detected edges.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get diagonalSearchSteps(): number

      The maximum steps performed in the diagonal pattern searches, at each side of the pixel. This search jumps one pixel at a time. Range: [0, 20].

      On high-end machines this search is cheap (between 0.8x and 0.9x slower for 16 steps), but it can have a significant impact on older machines.

      Returns number

    • set diagonalSearchSteps(value: number): void

      Parameters

      • value: number

      Returns void

    • get orthogonalSearchSteps(): number

      The maximum amount of steps performed in the horizontal/vertical pattern searches, at each side of the pixel. Range: [0, 112].

      In number of pixels, it's actually the double. So the maximum line length perfectly handled by, for example 16, is 64 (perfectly means that longer lines won't look as good, but are still antialiased).

      Returns number

    • set orthogonalSearchSteps(value: number): void

      Parameters

      • value: number

      Returns void

    Methods