Constructs a new SMAA effect.
Optionaloptions: { The options.
OptionaledgeThe edge detection mode.
OptionalpredicationThe predication mode.
Optionalpreset?: SMAAPresetThe quality preset.
ReadonlyblendThe blend mode of this effect.
ReadonlydefinesPreprocessor macro definitions.
Call Effect.setChanged after changing macro definitions.
ReadonlyextensionsWebGL extensions that are required by this effect.
Call Effect.setChanged after adding or removing extensions.
The name of this effect.
ProtectedrendererThe renderer.
ReadonlyuniformsShader uniforms.
Call Effect.setChanged after adding or removing uniforms.
The edge detection material.
The edge detection material.
The edges texture.
ExperimentalThe input color space.
Protected ExperimentalSets the main camera.
Sets the main scene.
ExperimentalThe output color space.
Should only be changed if this effect converts the input colors to a different color space.
Protected ExperimentalThe edge weights material.
The edge weights texture.
StaticareaThe SMAA area image, encoded as a base64 data URL.
StaticsearchThe SMAA search image, encoded as a base64 data URL.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Applies the given quality preset.
The preset.
Fire an event type.
Returns the effect attributes.
The attributes.
Returns the edge detection material.
The material.
Returns the WebGL extensions that are required by this effect.
The extensions.
Returns the edge weights material.
The material.
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Performs initialization tasks.
This method is called when the associated EffectPass is added to an EffectComposer.
The renderer.
Whether the renderer uses the alpha channel or not.
The type of the main frame buffers.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
ProtectedsetProtectedSets the effect attributes.
Effects that have the same attributes will be executed in the order in which they were registered. Some attributes imply a higher priority.
The attributes.
ProtectedsetProtectedInforms the associated EffectPass that this effect requires a shader recompilation.
Should be called after changing macros or extensions and after adding/removing uniforms.
Sets the edge detection sensitivity.
See EdgeDetectionMaterial#setEdgeDetectionThreshold for more details.
The edge detection sensitivity. Range: [0.05, 0.5].
ProtectedsetSets the maximum amount of horizontal/vertical search steps.
See SMAAWeightsMaterial#setOrthogonalSearchSteps for more details.
The search steps. Range: [0, 112].
ProtectedsetUpdates this effect.
The renderer.
A frame buffer that contains the result of the previous pass.
OptionaldeltaTime: numberThe time between the last frame and the current one in seconds.
Subpixel Morphological Antialiasing (SMAA).
https://github.com/iryoku/smaa/releases/tag/v2.8