# Fare Frenzy HD pack: asset credits

Everything in `assets/hd1/` is either CC0 (public domain) or made for Fare Frenzy. No attribution is legally required for CC0,
but we credit the authors gladly. The pack is built by the scripts in the round-4 build folder (textures, HDRIs, AO bake, models);
the game ships only the results listed here.

The HD street props and birds in `assets/props1/` are CC BY 4.0 models from Sketchfab: see `props1/CREDITS.md`.

## Textures (ambientCG, CC0 1.0)
Downloaded as 1K-JPG sets with `curl https://ambientcg.com/get?file=<ID>_1K-JPG.zip`, resized and packed into three KTX2 (Basis)
2D-array textures: `tex-albedo.ktx2` (ETC1S, sRGB, 1024²), `tex-normal.ktx2` (UASTC + Zstandard, 512²), `tex-orm.ktx2` (ETC1S, 512²;
R = ambient occlusion, G = roughness, B = a per-layer mask: puddles, paint wear or metalness).

| Layer | Used for | Asset | Source | Author | Licence |
|---|---|---|---|---|---|
| 0 asphalt | road surface | Road 012 B | https://ambientcg.com/view?id=Road012B | ambientCG (Lennart Demes) | CC0 1.0 |
| 1 asphalt-cracked | cracked road patches | Road 013 A | https://ambientcg.com/view?id=Road013A | ambientCG (Lennart Demes) | CC0 1.0 |
| 2 asphalt-patched | repaired road patches | Road 015 C | https://ambientcg.com/view?id=Road015C | ambientCG (Lennart Demes) | CC0 1.0 |
| 3 asphalt-wet | puddle mask for rain | Asphalt 025 C | https://ambientcg.com/view?id=Asphalt025C | ambientCG (Lennart Demes) | CC0 1.0 |
| 4 marking | worn road paint | derived from Road 012 B (grain) + generated wear mask | https://ambientcg.com/view?id=Road012B | ambientCG / Fare Frenzy | CC0 1.0 |
| 5 pavement | pavements | Paving Stones 136 | https://ambientcg.com/view?id=PavingStones136 | ambientCG (Lennart Demes) | CC0 1.0 |
| 6 brick | brick buildings | Bricks 101 | https://ambientcg.com/view?id=Bricks101 | ambientCG (Lennart Demes) | CC0 1.0 |
| 7 concrete | concrete and render, roofs, kerbs | Concrete 034 | https://ambientcg.com/view?id=Concrete034 | ambientCG (Lennart Demes) | CC0 1.0 |
| 8 glass | glass curtain walls (normal, roughness, metalness) | Facade 001 | https://ambientcg.com/view?id=Facade001 | ambientCG (Lennart Demes) | CC0 1.0 |
| 9 grass | grass and hills | Grass 004 | https://ambientcg.com/view?id=Grass004 | ambientCG (Lennart Demes) | CC0 1.0 |
| 10 sand | beach, dry ground | Ground 093 A | https://ambientcg.com/view?id=Ground093A | ambientCG (Lennart Demes) | CC0 1.0 |
| 11 rock | cliffs and steep slopes | Rock 030 | https://ambientcg.com/view?id=Rock030 | ambientCG (Lennart Demes) | CC0 1.0 |

## HDRI environment lighting (Poly Haven, CC0 1.0)
Downloaded at 1k (`https://dl.polyhaven.org/file/ph-assets/HDRIs/hdr/1k/<id>_1k.hdr`), downsampled to 512×256 Radiance `.hdr`
with the sun hotspot clamped (the game's own sun light does the direct light), prefiltered in the browser with PMREM.

| File | Time of day | Asset | Source | Author(s) | Licence |
|---|---|---|---|---|---|
| env-day.hdr | day | Canary Wharf | https://polyhaven.com/a/canary_wharf | Andreas Mischok | CC0 1.0 |
| env-sunset.hdr | sunset / dusk | The Sky Is On Fire | https://polyhaven.com/a/the_sky_is_on_fire | Greg Zaal, Rico Cilliers | CC0 1.0 |
| env-night.hdr | night | Shanghai Bund | https://polyhaven.com/a/shanghai_bund | Greg Zaal | CC0 1.0 |

## Made for Fare Frenzy (CC0, same terms)
| File | What |
|---|---|
| cars-taxi.glb, cars-traffic.glb | The HD taxi body, glass, trim and wheels, and five traffic cars (sedan, hatch, SUV, sports, pickup) with wheels. Procedural, built from the game's own vehicle specs, exported as glTF and compressed with meshopt (EXT_meshopt_compression + KHR_mesh_quantization). |
| ao-city.ktx2, ao-world.ktx2 | Baked ambient occlusion and contact shadows of the (seeded) city on the ground (R) plus ground height (G), from a GPU sky-visibility bake of the static geometry. UASTC + Zstandard. |
| vao.bin | Baked per-vertex sky visibility for the building geometry (applied to vertex colours). |
| grade-lut.png | 32³ colour-grade LUT (filmic S-curve, gentle split tone). |
| hd.json | Manifest: file sizes, texture-array layer names, AO regions, vertex-AO layout. |

Considered and not used: the Kenney Car Kit (CC0) is a toy style that doesn't fit a realistic look, and Poly Haven has no
CC0 vehicles; the cars and street furniture are therefore procedural.

## Voices (voice3.m4a, voice1-*.m4a, voice2-blue.m4a)

The passengers, the radio DJs and City Talk are spoken by [Kokoro-82M](https://huggingface.co/hexgrad/Kokoro-82M) (Apache-2.0
weights; the audio is ours to ship) through kokoro-onnx (MIT), built by `fare-frenzy-tools/voices/` with the shared
`yz-hd-tools/voices/build.py`. Voices: af_bella, am_michael, bf_emma, bm_george, af_sarah (passengers); am_puck, af_nicole, af_sky,
af_jessica, bm_lewis, am_onyx (the DJs); af_heart, am_eric, bf_isabella, am_adam (City Talk).

## Street detail (hd-street.js) and the street's acoustics

The rooms behind the windows, the fitted window bays, the shop fronts, the road's puddles and wear, the light glows and their wet-road
streaks, the steam, the fire escapes, the prop culling and the street acoustics (index.html, `AC`) follow techniques from
[Slop New York](https://github.com/mrdoob/slop-newyork) by Mr.doob, rewritten for WebGL and this city; some of the shader logic (the
room's colours and layout, the puddle field and its wet masks, the road's wear) is ported from its `tsl-materials.js`. No assets are
taken from it. Its licence:

> MIT License
>
> Copyright (c) 2026 Mr.doob
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
> "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,
> publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
> subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
> ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
> THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## The sea's waves (`/yz-hd/ocean-fft.js`)
The bay's waves, on computers in the HD look (`hd.js` `waterFFT`), in place of the sea shader's hand-made ripples, are an FFT ocean ported from Ultra-Water's `OceanSim.js` (https://github.com/Humpalumps/Ultra-Water), MIT License, Copyright (c) 2026 Humpalumps.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to
the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions
of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## Lightning (`/yz-hd/bolts.js`)
The storm's lightning is ported from Ultra Elements (https://github.com/Humpalumps/ultra-elements), MIT License, Copyright (c) 2026 Humpalumps.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to
the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions
of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
