Log inGet started
Package

Lanterns.module

README.md

Lanterns

The lantern chain of a lanternStair shrine. Lays stone lanterns (sengokuProps Kasuga, Yukimi, Oki) on mossy plinths, or hanging bronze toro (tsuriDoro) on timber posts, along both sides of the stair every spacing metres, plus a pair by the top torii and two big Kasuga before the hall. Stone, bronze and posts are instanced with distance LODs; each paper is one entity whose glow follows its lsGlow value through a single shared material, and a few real point lights (lights) follow the camera onto the nearest lit lanterns.

chain:lightUp(20)     -- one by one, bottom to top, over 20 s, each flaring as it catches
chain:setLit(0.5)     -- the lower half lit
chain:putOut(4)       -- top to bottom
chain:litFraction()   -- 0..1