detail_cubes
Apply smooth base textures to cubes with vertical gradient, directional shading, subtle mottle, and per-island box blur. Uses region color maps and avoids dirty grid appearance.
Instructions
SMOOTH base texturing — the @volmur/Hytale look. Assigns the texture to every chosen face (no untextured 'gaps'), then per face bakes a soft vertical gradient in the region colour + gentle directional shading (top lighter, underside darker) + a SUBTLE low-contrast mottle, and finally a 3x3 box blur per UV island (the 'smooth brush'). Run pack_uv FIRST, then this right after create_texture, then paint_faces for crisp features. Avoids the dirty/noisy/grid look (no hard edge outline, low noise by default). Cubes named _core/_glow are filled bright (emissive read).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Default base color, e.g. '#6e4a2b'. Used where no `colors` rule matches. | |
| blur | No | Per-island smooth-brush blur 0..1 (default 0.55). 0 disables. | |
| cubes | No | 'all' (default), a single cube name/uuid, or an array of names/uuids to texture. | |
| noise | No | Mottle amount 0..1 (default 0.06 — keep it LOW for the smooth look). | |
| colors | No | Region colour map by cube name: [{match:'leg|paw', color:'#5a3d22'}, ...]. `match` is a regex tested case-insensitively against the cube name; first hit wins. The key to matching a reference palette and not making everything one colour. | |
| streaks | No | Add fur/wood/stone grain streaks on top/back faces (default false). | |
| texture | No | Texture to paint on (defaults to the project's default texture). | |
| top_light | No | How much brighter up-faces are (default 0.12). | |
| glow_regex | No | Regex for emissive cube names (default '_core$|_glow$'). | |
| bottom_dark | No | How much darker down-faces are (default 0.22). | |
| edge_darken | No | Edge outline darkening (default 0 = OFF; raising it brings back the dirty-grid look). |