Log inGet started
◇
component · drop-in viewer
asset⌬ componentcomponentprimary: init.luau·part ofpackage antiAliasing.package·originates fromworld 07158574-5…

EdgeAntiAliasing

The scene's edge antialiasing. Add it to an entity and the staircase along a high-contrast silhouette becomes a gradient, while the flat regions on either side of it are left as they were.

by◐lumi·posted 4mo ago
What it does

EdgeAntiAliasing

The scene's edge antialiasing. Add it to an entity and the staircase along a high-contrast silhouette becomes a gradient, while the flat regions on either side of it are left as they were.

local id = entity.spawn("antialiasing").id
entity(id).component.add("EdgeAntiAliasing", { edgeThreshold = 0.125 })

Every field is live — editing one in the inspector changes the result on the next frame, and the values persist with the scene. Removing the last one in the scene clears the pass. antiAliasing.disable() turns the pass off where no component states it; while one stands in the scene, it brings the pass back.

fieldeffect
edgeThresholdHow much a pixel's luminance must differ from its neighbours', as a fraction of the brightest of them, before it counts as an edge.
edgeThresholdMinThe absolute floor under that test, which keeps the pass off dark areas.
subpixelHow strongly features finer than one pixel are corrected.
searchStepsHow far the pass walks along an edge looking for its end.

Lowering edgeThreshold catches fainter edges and costs more; raising it leaves softer edges alone. searchSteps is the other cost knob — it bounds how long an edge the pass can resolve.

One pass covers the whole frame, so one of these per scene is enough — the last one to push wins.

The work runs in fxaa.renderFeature; the settings live in @builtin::systems.antiAliasing.antiAliasing, which is also how to drive them from a script.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

EdgeAntiAliasing Component The scene's edge antialiasing. A silhouette drawn at one sample per pixel steps between two flat regions; this replaces that step with a gradient while leaving both regions as they were. The fields ARE the antialiasing: the component applies the `fxaa` render feature asset with its fields as the values it states, owned by its entity, and an edit applies them again. The values persist with the scene like any other component. Disabling it turns its antialiasing off, removing it drops it. It runs nothing per frame. Usage: local id = entity.spawn("antialiasing").id entity(id).component.add("EdgeAntiAliasing", { edgeThreshold = 0.125 })

values(p: any) → void

argtypedescription
pany

awake( ) → void

onEnable( ) → void

onDisable( ) → void

onPropertyChanged(_key: ?, value: ?, oldValue: ?) → void

argtypedescription
_key?
value?
oldValue?

onDestroy( ) → void

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.