Log inGet started
World

Endless Stairs: Infinite Streamed Staircase and Themed Areas Kit

Branchmain
Branchesmain
Commitae7a2e0573

README.md

stairSurface

The lit surface every endless-staircase theme is drawn with: the mesh's vertex colour is the painted colour (tread, nosing, riser, wall, coping) and the shader cuts analytic surface detail on top of it, so the stairs read as a made material with no texture memory at all. pattern picks the material:

patternlook
0plain painted
1wood boards with ring grain and butt joints
2dressed stone blocks in courses
3velvet carpet pile with a woven diamond
4glossy candy glaze with sprinkle flecks and swirl bands
5clear ice with frosted cracks and cloudy inclusions
6brushed metal plate in riveted panels
7dark neon glass tiles with a faintly glowing circuit grid
8billowing cloud-stone with gold-veined marble
9weathered temple stone with moss in the joints

Detail is read from the mesh's uv, which endlessStairs.meshBuilder writes as box-projected path-space metres, so patterns run continuously across chunk seams and do not jump when the course rebases its origin. A bump normal is derived from the same field so grain, joints and cracks catch the key light.

Knobs: detail (0 turns the pattern off), detail_scale (pattern size), bump_strength, roughness, metallic, clearcoat, sheen_color, emissive_intensity (self-glow in the vertex colour) and pattern_glow (how much the neon grid lights up).