Constructs a new SMAA weights material.
Indicates whether corner detection is enabled.
Specifies how much sharp corners will be rounded. Range: [0, 100].
Indicates whether diagonal pattern detection is enabled.
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.
ProtectedfarThe current camera far plane value.
ProtectednearThe current camera near plane value.
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).
Copies the settings of the given camera.
Updates the camera-related uniforms and macros.
A camera.
Updates the resolution uniform (XY = resolution, ZW = texelSize).
The width.
The height.
Subpixel Morphological Antialiasing.
This material computes weights for detected edges.