Time-of-day cycle over the valley, from dawn to Lantern Festival night, ending on a lone figure with a lantern at the pavilion

Where the Lanterns Dim

A Procedural Jiangnan Festival Town with a Dynamic Day–Night Cycle

The fifteenth night of the first lunar month.

But in the crowd once and again

I look for her in vain.

When all at once I turn my head,

I find her there where lantern light is dimly shed.

The Lantern Festival Night

(To the tune of Green Jade Table)

One night’s east wind adorns a thousand trees with flowersAnd blows down stars in showers.Fine steeds and carved cabs spread fragrance en route;Music vibrates from the flute;The moon sheds its full light,While fish and dragon lanterns dance all night.

In gold-thread dress, with moth or willow ornaments,Giggling, she melts into the throng with trails of scents.But in the crowd once and againI look for her in vain.When all at once I turn my head,I find her there where lantern light is dimly shed.

Xin Qiji · Translated by Xu Yuanchong

A festival town, and a pavilion outside it

Inspired by the closing lines of Xin Qiji’s poem, Where the Lanterns Dim asks: can a space make someone feel alone in the middle of a celebration?

Light and motion gather in the town; a lone figure and lantern occupy the cliffside pavilion. Seen from the pavilion, the festival feels close enough to watch, too far to join.

What I built

  • World layout, terrain sculpting and river system
  • Set dressing and composition of the town and pavilion
  • Day and Lantern Festival night lighting
  • Atmosphere: fog, sky and post-processing
  • Sky lantern system in Niagara
I

The Crowd

“Fine steeds and carved cabs spread fragrance en route … while fish and dragon lanterns dance all night.”

Clustered light, dense street life and constant motion create the festival’s sense of abundance.

Canal at night
Canal, day
Market, day
Banyan tree detail
Character lineup

Iterations

  1. Establishing a spatial hierarchy

    Camera framing differs between versions.

    Problem
    The buildings formed a uniform field, without clear streets or a center.
    Change
    I divided the town into blocks, defined the waterfront, and opened a central square.

    01Before

    An undifferentiated layout

    02After

    Streets, square and focal center

Technical implementation

  1. 01

    Shoreline and houses

    Terrain and river data define one bank spline for the walls, platforms, piers and railing. Shared frames keep their offsets aligned, while editable spacing and pier exclusions preserve access gaps. Houses sit back from this generated edge.

    01Find the bank

    Split terrain by river elevation, isolate the nearest dry bank, then sort the points into a spline.

    Graph loads as you approach this section.

    02Share the bank frame

    Sample shared joints and resolve a consistent river side. The opposite sign drives landward platform offsets.

    Graph loads as you approach this section.

    03Leave room for piers

    Place piers at editable intervals and omit selected indices. Measure railing clearance in XY to leave access gaps.

    Graph loads as you approach this section.

    21 selected nodes. Each row shows a connected excerpt; supporting calculations and cross-row links are in the full graph.

    Right-drag to pan · Ctrl + scroll to zoom · Source text

  2. 02

    Crowd

    Problem
    With random-walk agents, people kept converging on the shortest paths through the town. Busy lines formed while the squares stayed empty.
    Decision
    I added destinations the agents are drawn to, such as the banyan square, stalls and the docks, and placed static groups where the walkers never went.
    Result
    The crowd spreads through the streets and is densest at the square, which is also the brightest point of the frame.
  3. 03

    Town edge blending

    Problem
    Where the town met the landscape, building bases and paving cut hard lines into the terrain.
    Decision
    I used a runtime virtual texture (RVT) so the landscape colour bleeds into the meshes at their base, with extra grass and debris along the seam.
    Result
    The town sits in the valley instead of on top of it.
II

Where the Lanterns Dim

“I find her there where lantern light is dimly shed.”

Open space and restrained lantern light make the pavilion a quiet place to pause and look back.

Pavilion in golden light
Cliffside pavilion, day
The pavilion, Lantern Festival night
Tea and a game of Go
A lone figure above the festival

Iterations

  1. A quieter light at the pavilion

    Framing and sky conditions differ between versions.

    Problem
    Broad fill lit the pavilion too evenly, flattening its depth.
    Change
    I used restrained rim lighting and localized warm light, letting larger surfaces fall into shadow.

    01Before

    Broad fill flattens the pavilion

    02After

    Restrained light against the blue night

Technical implementation

  1. 01

    Water

    I adapted UE’s Water material for the valley view, tuning near and distant normals, slowing the river flowmap, and adjusting scattering, absorption and surface reflectance.

    Material flow

    The upper groups cover surface detail and river flow. The lower group controls the water’s optical appearance.

    Graph loads as you approach this section.

    1. 01Surface detail

      Camera depth blends the normal layers. I adjusted their scale and strength for the distant pavilion view.

      Near: scale 420, strength 0.30. Distant: scale 2200, strengths 0.22 / 0.16.

    2. 02River flow

      The enabled river branch uses a slower flowmap. Normal flatness controls the river-specific normal treatment.

      Flowmap speed: 0.002 → 0.0015. Normal flatness: 0.5 → 0.4.

    3. 03Water appearance

      Scattering and absorption feed Single Layer Water through coefficient calculations. I also adjusted roughness and specular response in the material instance.

      Roughness: 0.02 → 0.08. Specular: 0.225 → 0.255. Absorption values are coefficient controls, not display RGB colours.

    17 selected material nodes in three annotated groups on one canvas. Parameter nodes show MI_River_Realistic values; auxiliary inputs remain in the full graph.

    Right-drag to pan · Ctrl + scroll to zoom · Source text

    MI_River_Realistic 16 parameter overrides

    MI_River_Realistic → Water_Material_River → Water_Material_Inst → Water_Material

    River and Water VS Mapping are enabled. Waves off · Ocean Foam off · Caustics off. These switch values include inherited settings.

    Parent values are inherited from Water_Material_River. Vector values use RGBA order.
    ParameterParentMI_River_Realistic
    Water Roughness0.020.08
    Water Specular0.2250.255
    Water Fresnel Roughness0.10.1
    Water Fresnel Specular0.2250.255
    Default Near Water Scale512420
    Default Near Normal Strength0.250.3
    Default Distant Water Scale35002200
    Default Distant Normal Strength0.30.22
    Default Distant Normal StrengthB0.250.16
    River Normal Flatness0.50.4
    River Flowmap Speed0.0020.0015
    Foam Opacity10.35
    Foam Roughness0.40.65
    Absorption(0, 24.9032, 350, 8)(180, 280, 220, 3.5)
    Scattering(1, 1, 1, 0.5)(0.34, 0.4, 0.36, 0.5)
    Foam Emissive(0.287441, 1, 0.187821, 1)(0, 0, 0, 1)

  2. 02

    Forest PCG

    Surface sampling and layered noise build the forest distribution. Exclusion zones, slope and world-space limits control placement, then a two-stage random split assigns three Hornbeam variants before spawning.

    Forest distribution

    Sample the landscape → constrain placement → assign and spawn tree variants.

    Graph loads as you approach this section.

    1. 01Sampling and density

      Surface sampling establishes the forest coverage. Density noise, position jitter and spatial noise break up the pattern; normals then drive a density filter on the slopes.

      Exposed controls: sampling density, looseness, noise ranges and slope limits.

    2. 02Placement constraints

      Actors tagged ExcludeZone supply bounds to the Difference node. The remaining data is collapsed to points, given varied transforms, and filtered by minimum world Z and Y coordinates.

      Exposed controls: scale range, MinimumTreeWorldZ and MinimumTreeWorldY.

    3. 03Tree variants and spawning

      The first random choice takes 60% for A. A second choice takes 75% of the remainder for B, leaving C. Each branch writes a Hornbeam mesh to the Mesh attribute before the branches merge and feed the spawner.

      Target mix: A 60% / B 30% / C 10%. Output node: Skinned Mesh Spawner.

    20 selected nodes in three annotated groups. Auxiliary inputs and exposed parameters remain in the full graph.

    Right-drag to pan · Ctrl + scroll to zoom ·Full graph text ·Original source

III

The Glance Back

“When all at once I turn my head …”

Distance, light and scale invite a second look, from the festival to the lone figure nearby.

Composing the glance back

This study is built around a fixed overlook. The viewer shares the pavilion’s position: close to the figure, looking across the valley at a celebration beyond reach.

The same view on Lantern Festival night: the town glows and sky lanterns rise, while a lone figure stands at the dim pavilionFestivitySolitudea second look
Final overlook composition. The annotations describe design intent; the arrow suggests a viewing order, not a recorded gaze path.
  1. A distant first drawConcentrated warm light makes the distant festival the intended first focus.
  2. A place to look fromThe foreground pavilion places the viewer outside the celebration, looking in.
  3. A quieter discoveryA less prominent figure leaves room for discovery on a second look.
  4. One shared nightRepeated lantern warmth connects two places separated by distance.

Technical implementation

  1. 01

    Atmosphere and time of day

    I used SunMoonDaySequence to carry the same overlook through a full day, tuning skylight, cloud coverage and height fog across the cycle. A secondary fog-card layer adds local depth around dawn.

    SunMoonDaySequence 24 hours · 30 seconds · 2× playback · fixed camera
    10:00
    Fog Cards A secondary dawn layer

    Nine fog cards add a local layer between 05:00 and 09:30, with full strength from 06:00 to 07:15. Their contribution recedes as the daylight scene clears.

    FogStrength0.00
    0006121824
  2. 02

    Sky lanterns in Niagara

    I organize the lanterns by viewing distance: preserve the construction of a single lantern up close, then let silhouette, warm light and movement carry the Niagara field across the valley.

    LOD 0 · Close-up

    The individual lantern

    Paper seams, a bamboo rim and a suspended fuel cell remain visible up close; warm light glows through the paper.

    Handmade paper sky lantern with a bamboo rim and a glowing fuel cell

    Loading the lantern…

    Drag to orbit · Use + / − to zoom

    LOD 1–2 · Mid & distant layers

    From one lantern to a sky full of light

    Across the valley, silhouette, warm light and movement carry the effect. Niagara separates the lantern field into mid and distant layers; the demonstration moves from the emitter setup to the moving particle field.

    Niagara · Emitter setup and lantern field

Reflection

What the frame establishes

The final composition brings the pavilion close and holds the festival at a distance. Both share warm light, but differ in scale and density. That spatial contrast carries the idea of being near a celebration while remaining apart from it.

What I learned

  • Fixing the camera on day one was the most useful decision in the project. Every question about detail, density or light had a clear test: does it change this frame?
  • Cutting the dynamic foliage taught me to spend effort where the player can see it. Ambition that the camera cannot show is cost without return.

Next time

  • The intended viewing order is still a design hypothesis. Show the unannotated frame to viewers unfamiliar with the project and ask what they notice first, whether they find the figure, and how they read the relationship between the two places.
  • Capture before and after screenshots at every milestone instead of reconstructing them at the end.
  • Give the crowd a proper navigation setup from the start rather than fixing random walks afterwards.
  • Make the scene walkable, so the move from the town to the pavilion can be played rather than only watched.