← Sahil Talwar

Credits

Third-party work

Assets and techniques this site borrows from, and what was taken from each. Everything below is used under a permissive licence with attribution, or credited as a reference only.

Grass

Grass blades are based on James Smyth's three-grass-demo (MIT, © 2020–2021 James Smyth), from his write-up "Breath of the Wild style grass in Three.js". Changed: the blades are instanced rather than baked into one buffer, and they shade through a standard material so the scene's fog and lights apply.

Foliage

The near trees are built from Dan Greenheck's ez-tree (MIT, © Daniel Greenheck): the leaf card construction, its rounded-normal shading, and the placement rule that sows leaves along each branch segment rather than only at the tips. Changed: the leaf texture is generated procedurally instead of shipping the package's bark and leaf art, to keep the site's load size down.

Grid shader

The city's crisp facade lines were checked against Ben Golus, "The Best Darn Grid Shader (Yet)", code in his gist (Unlicense / CC0). Read as reference; the box-filtering approach used in the end came from a different source, credited below.

Aurora

The Observatory's curtains follow the shape of nimitz's "Auroras" (CC BY-NC-SA 3.0): a divisor held away from zero at the horizon, density read straight off the noise rather than as a contour, and a running average taken along the march. Reference only — the shader here is our own, with its own noise and its own rays.

Surface nets

The statues' hair, which only reads as hair through a texture in the source models, is rebuilt as one solid mass using three.js's bundled implementation of Mikola Lysenko's surface nets algorithm (MIT).

Statue models

Four figures stand in the City. Each has its triangle count cut down by our own bake script and is shown either as plain stone or with its own colour textures baked onto the cut mesh.

Character designs belong to their respective owners — Cloud Strife to Square Enix, Mew to Nintendo / The Pokémon Company, the Ultralisk to Blizzard — and are shown here as fan tributes.

Techniques and references

Read for the technique or the underlying fact; no code or image taken from any of these.

Archived v5 - all versions · live site