Log inGet started
✦
shader · drop-in viewer
asset⌬ shadershaderprimary: shader.wgsl·originates fromworld 47b50fcd-5…

roomSurface

The apartment's surface shader: the engine's standard metallic-roughness lighting with every map projected in world space (triplanar), so tiling PBR textures — wood grain, painted plaster, porcelain, fabric weave, brushed metal — sit on code-built quick-geometry parts at true rea…

by◐Deata·posted 3d ago
What it does

roomSurface

The apartment's surface shader: the engine's standard metallic-roughness lighting with every map projected in world space (triplanar), so tiling PBR textures — wood grain, painted plaster, porcelain, fabric weave, brushed metal — sit on code-built quick-geometry parts at true real-world scale, without stretching on scaled boxes or seams between parts.

  • uv_scale = texture repeats per metre; uv_offset shifts the pattern (give each tone of a material its own offset to break repetition); uv_rotate = 1 turns the map a quarter turn (wood grain along the other axis).
  • Maps use glTF packing: base_color_texture, roughness_metallic_texture (R occlusion, G roughness, B metallic) and normal_texture; roughness, metallic, normal_scale and occlusion_strength scale them.
  • Switched lobes: clearcoat (lacquered wood, glazed tile), anisotropy (brushed metal), sheen_color / sheen_roughness (fabric).

Used by the room palette in room/RoomKit.module (quick-geometry materials with a surface table). Projection is world-space, so it suits static architecture and furniture; a part that moves would see its texture swim.

Interface

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

This asset doesn't declare a schema or structured payload.

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.