Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld 7f138801-7…

frame

The scene side of the Painted Valley frame: starts the frame render feature and the finish post effect, sets the display transform to a linear pass-through, and exposes setPaint, setExposure and setTags.

byzero-proxy @ DESKTOP-DB3UJOJ·posted 2d ago
What it does

frame (module)

The scene side of the Painted Valley frame: starts the frame render feature and the finish post effect, sets the display transform to a linear pass-through, and exposes setPaint, setExposure and setTags.

Interface

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

conforms to

zero/source-extract/v2

paintedValley.frame.frame (module) — the scene side of Painted Valley's frame (lib/frame.js, blendi/painted-valley, MIT): brings up the frame render feature (tags, paint finish, ink) and the finish post effect (bloom, vignette, exposure, painter's curve), sets the display transform to pass the finished values through, and is how the valley turns the paint off and on (P), sets the exposure for the hour, and names what the frame tags. local frame = require("paintedValley.frame.frame") frame.start() -- once a session (idempotent) frame.setPaint(0 | 3) -- P: the paint finish off / on frame.setExposure(sky.exposure) -- every frame, as main.js sets frame.exposure frame.setTags({ { entity = ref, tag = 0.4 }, { entity = ref, shader = "<id>", properties = {...} } })

feature( ) → any

configure(values: { [string]: any }) → void

Hands the feature new settings. A feature still running an older definition refuses a setting it did not declare then: it is brought up again with every setting, so a hot-reloaded feature always runs the current definition.

argtypedescription
values{ [string]: any }

finishListed( ) → boolean

paintProgram( ) → void

The paint pass's program. The feature names it, but since engine 0.0.7116 a compute shader that is only named by a feature pass is never compiled for it ("compute shader … is not registered … Pass skipped": no paint finish and no ink line), so the frame asks for the compile itself, and again whenever it is absent (a hot reload releases it).

start( ) → void

stop( ) → void

setPaint(level: number) → void

The paint finish: 0 is off; main.js's default at high quality is 3 (P toggles between 0 and that).

argtypedescription
levelnumber

getPaint( ) → number

setExposure(x: number) → void

frame.exposure = sky.exposure (main.js does this every frame).

argtypedescription
xnumber

setBackdrop(spec: any?) → void

The sky's painted strip (its back0 and back2 texture names, elevation range and size), so the brush leaves the painted far country alone and still lays itself over open sky and cloud, as the original's sky alpha has it.

argtypedescription
specany?

setTags(list: { any }) → void

What the frame tags, in place of the original's scene alpha. Each entry: { entity = ref|id, tag = number } or { entity = ref|id, shader = "<identity>", properties = { ... } } (a tag shader of the part's own). Entries with the same tag (or the same shader and properties) are drawn in one pass.

argtypedescription
list{ any }

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

14items
·
computeshader · born here
❒asset
# paint Painted Valley's paint finish (a Kuwahara brush, finer near and leaving what is already painted alone) and the inked line round a figure, from lib/frame.js (blendi/painted-valley, MIT), as a compute pass over the lit scene. Tags from the frame's tag target and from depth.
▲ 0↑ born
✦
shader · born here
❒asset
# finish Painted Valley's bloom, vignette, exposure, painter's curve and saturation (lib/frame.js, blendi/painted-valley, MIT), as a multi-pass post effect on the scene layer.
▲ 0↑ born

Problems

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

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬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.