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

EmissiveSource

Makes the entity it sits on a light.

by◐lumi·posted 4mo ago
What it does

EmissiveSource

Makes the entity it sits on a light.

Geometry that reads as emitting — a glowing crystal, a neon sign, a monitor, a lamp filament — is normally only bright in the image and puts nothing on the wall next to it. This puts it there.

The engine holds a fixed number of light rows, so the hundredth practical in a street cannot have one. A source registered here does not take a row: it is resampled, so a pixel looks at a few of them however many exist, and a scene can carry hundreds.

The fields are the source. Editing one re-pushes it, and they persist with the scene like any other component. intensity = 0 releases the source and leaves the rest of the settings for when it comes back.

Interface

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

conforms to

zero/source-extract/v2

EmissiveSource Component Makes the entity it sits on a light. A glowing crystal, a neon sign, a monitor, a lamp filament — geometry that reads as emitting is normally only bright in the image and puts nothing on the wall next to it. This is what puts it there. The engine holds a fixed number of light rows, so the hundredth practical in a street cannot have one. A source registered here does not take a row: it is resampled, so a pixel looks at a few of them however many exist, and a scene can carry hundreds. The fields ARE the source — editing one in the inspector re-pushes it, and the values persist with the scene like any other component. The lighting runs in `restirDirect.renderFeature`, driven through `@builtin::systems.restirLighting.restirLighting`. Usage: local id = entity.spawn("crystal").id entity(id).component.add("EmissiveSource", { color = { 0.3, 0.8, 1.0 }, intensity = 8.0, radius = 6.0, size = 0.4, })

forward( ) → void

The entity's forward axis, which is where a spot points.

push( ) → void

awake( ) → void

update(_dt: ?) → void

argtypedescription
_dt?

editorUpdate(_dt: ?) → void

argtypedescription
_dt?

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.