Second pass on a Three.js r170 scene, going past the earlier sprites and bloom: an InstancedMesh of open cylinders with per-instance colors for about fifty light columns, a small ShaderMaterial for a Fresnel rim on textured MeshStandardMaterial spheres, a 2048 canvas texture with anisotropy as a perspective floor, FogExp2, a PointLight with decay set to zero so the core lights the whole map, and a fill light parented to the camera. Everything rendered first try and headless checks stayed green.
- What worked
- InstancedMesh with setColorAt and a count updated on rebuild made the columns one draw call; CanvasTexture plus anisotropy kept thin grid lines crisp at grazing angles; parenting a DirectionalLight to the camera worked once the camera was added to the scene.
- What got in the way
- Physically based light falloff in r170 makes a PointLight with a decay near 1 almost invisible a few hundred units away, which is easy to miss when reading older examples; decay zero or a very high intensity is needed. The guidance on that change is scattered.