Docs

Guides

Materials

The twelve master materials and 23 preset instances of the Pagoda Lantern & Railing Kit, their parameters, and how the surfaces hold up close.

Overview#

There are twelve masters with parameters, and 23 instances that are the presets. All masters are opaque and lit, and they read the per-vertex wear data. The textures are the three Poly Haven photo sets (see Credits) sampled in the mesh UVs, which are in physical metres.

Masters and instances#

Master Parameters Instances
M_Lantern_Ceramic (roof tiles) GlazeColor, PatinaColor, WornEdgeColor, DustColor, DustAmount (0.45 in every roof preset: up-facing dust, patina and dirt together; 1 = heavily weathered, 0 = clean glaze), GlazeRoughness (0.22, glossy glaze; dust in the channels stays rough), TileHueVariation (per-tile hue and tone), GlazeVariationScale, WearCavityStrength, RoughnessBias MI_Roof_Jade, MI_Roof_Vermilion, MI_Roof_Cobalt, MI_Roof_Ink
M_Lantern_Wood (lantern frame) LacquerColor, BareWoodColor, LacquerWear, GrainScale (1 = true scale), WearCavityStrength, RoughnessBias MI_Frame_RedLacquer, MI_Frame_BlackLacquer, MI_Frame_Natural
M_Lantern_Stone (plinth, quay, steps) StoneTint, DetailScale, WearCavityStrength, RoughnessBias MI_Stone_Grey
M_Lantern_Metal BrassColor, TarnishColor, IronColor, IronMode (0 brass, 1 iron), Metallic, WearCavityStrength, RoughnessBias MI_Metal_Brass, MI_Metal_Iron
M_Lantern_Paper (two-sided, Two Sided Foliage shading) PaperColor, GlowStrength, GlowEdgeColor, GlowCentreColor, PaneFalloff (1 = flat panes lit from a centre flame), PaneDistance, GlowCentreV, GlowFalloff, RibShadow, FibreScale, FibreStrength, Translucency (daylight showing through the paper), WearCavityStrength, RoughnessBias MI_Paper_Warm, MI_Paper_ChochinRed, MI_Paper_ChochinCream
M_Timber / M_TimberEndgrain (railing) TimberColorA, TimberColorB, WeatheredGrey (0 brown … 1 weathered grey), LacquerAmount (0 … 1 red lacquer), LacquerColor, GrainScale (1 = true scale), WearCavityStrength, RoughnessBias; per-instance tone from custom data 0 MI_Timber_Brown / _WeatheredGrey / _RedLacquer, MI_Endgrain_Brown / _WeatheredGrey / _RedLacquer
M_Rope RopeColorA, RopeColorB, FibreScale, WearCavityStrength, RoughnessBias MI_Rope_Hemp
M_LF_CandleFlicker (light function) FlickerAmount, FlickerSpeed used by BP_MarketLantern
M_Demo_Cobble (demo street, world-aligned) TileSizeMetres (2), Brightness, RoughnessBias none
M_Demo_Water (demo) WaterColor, Roughness, RippleStrength none
M_OverviewGround (overview map) Color MI_OverviewGround, MI_OverviewMarker, MI_OverviewPlinth (stair blocks)

WearCavityStrength (1 by default) scales the edge-wear and cavity data; 0 gives a cleaner, newer look.

How the wood reads close up#

The timber materials sample a single plank of the brown_planks_03 scan at its true scale in both directions (about 860 texels per metre) and mirror it across the grain inside that plank, so no plank seam or stretched grain ever appears on a post or rail. A second sample four times finer adds grain detail at arm's length.

Each mesh part starts at a different point along the grain (from its vertex tone), so neighbouring pieces do not repeat. The rope's fibres are the same scan's grain wound helically along each strand.

All three colour textures use BC7 compression, so close-ups show no block artefacts.

Paper, glaze and stone up close#

  • Paper. The lantern paper takes its structure from the scans too. Its cloudy density comes from the interior of one stone block of stone_wall_02, sampled clear of the mortar joints, and its fibres from the plank grain of brown_planks_03 in two directions. That structure modulates the paper colour and the light shining through it. On the market lantern each pane is lit like a sheet in front of a flame: brightest opposite the light, falling off towards its corners (PaneFalloff). The hanging paper lanterns let daylight through the paper (Translucency).
  • Glaze. Each roof tile has its own glaze tone and hue, taken from the per-part vertex value. The glaze thickness and its gloss follow the stone scan, and pale dust settles in the tile channels (vertex cavity channel, DustColor) on up-facing glaze only, so tile lips seen from below stay clean glaze.
  • Lacquer. Sheltered down-facing lacquer (the roof soffits and bracket undersides) wears far less than exposed faces.
  • Stone. The stone adds a detail layer 4.4 times finer, sampled from a joint-free block, so carved plinths hold up at 1 m.