# Asset credits

Every file under `assets/` is listed here with its title, author, licence and source. Only CC0, public
domain and CC BY assets are used (CC BY-SA, NC and ND were turned down). Nothing was taken from Sketchfab or
any paid store, and nothing carries a brand logo. `node assets/verify-assets.mjs` fails if a shipped file
has no line here.

CC0 and public domain need no attribution; they are credited anyway. **The CC BY files
(`audio/engine_v8_sport_exhaust.mp3`, `audio/van_pass_by.mp3`, and the derived `audio/engine_bank.wav` and `audio/sfx_bank.wav`) must keep their credit wherever the game is published**, for example in
the README or an About screen.

## Texture sets

Poly Haven files are the publisher's 1k (asphalt: 2k and 1k) JPGs, renamed (`<id>_diff_1k.jpg` became
`color.jpg`, `nor_gl` became `normal.jpg`, `rough` became `roughness.jpg`, `ao` stayed `ao.jpg`).
ambientCG files come from the `1K-JPG` zip (`_Color`, `_NormalGL`, `_Roughness`, `_AmbientOcclusion`);
their Displacement, NormalDX and flat white Metalness maps were left out.

| File | Title | Author | Licence | Source |
|---|---|---|---|---|
| textures/asphalt/color.jpg, textures/asphalt/normal.jpg, textures/asphalt/roughness.jpg, textures/asphalt/ao.jpg (2k) and textures/asphalt/color_1k.jpg, textures/asphalt/normal_1k.jpg, textures/asphalt/roughness_1k.jpg, textures/asphalt/ao_1k.jpg | Clean Asphalt | Dimitrios Savva | CC0 1.0 | https://polyhaven.com/a/clean_asphalt |
| textures/tiles/color.jpg, textures/tiles/normal.jpg, textures/tiles/roughness.jpg, textures/tiles/ao.jpg | Long White Tiles | Sergej Majboroda (photography), Jenelle van Heerden (processing) | CC0 1.0 | https://polyhaven.com/a/long_white_tiles |
| textures/concrete/color.jpg, textures/concrete/normal.jpg, textures/concrete/roughness.jpg, textures/concrete/ao.jpg | Concrete Wall 006 | Charlotte Baglioni (photography), Dario Barresi (processing) | CC0 1.0 | https://polyhaven.com/a/concrete_wall_006 |
| textures/alcantara/normal.jpg, textures/alcantara/roughness.jpg, textures/alcantara/ao.jpg | Scuba Suede | colormass (photography), Rico Cilliers (processing) | CC0 1.0 | https://polyhaven.com/a/scuba_suede |
| textures/alcantara/color.jpg | Scuba Suede, colour map desaturated and darkened to charcoal (ImageMagick `-modulate 100,0 -evaluate multiply 0.6`) | colormass, Rico Cilliers; modified for this project | CC0 1.0 | https://polyhaven.com/a/scuba_suede |
| textures/tilesLarge/color.jpg, textures/tilesLarge/normal.jpg, textures/tilesLarge/roughness.jpg, textures/tilesLarge/ao.jpg | Tiles 107 | ambientCG (Lennart Demes) | CC0 1.0 | https://ambientcg.com/a/Tiles107 |
| textures/metal/color.jpg, textures/metal/normal.jpg, textures/metal/roughness.jpg | Metal 027 | ambientCG (Lennart Demes) | CC0 1.0 | https://ambientcg.com/a/Metal027 |
| textures/leather/color.jpg, textures/leather/normal.jpg, textures/leather/roughness.jpg | Leather 026 | ambientCG (Lennart Demes) | CC0 1.0 | https://ambientcg.com/a/Leather026 |
| textures/carbon/color.jpg, textures/carbon/normal.jpg, textures/carbon/roughness.jpg | Fabric 004 (carbon fibre weave) | ambientCG (Lennart Demes) | CC0 1.0 | https://ambientcg.com/a/Fabric004 |
| textures/aluminium/color.jpg, textures/aluminium/normal.jpg, textures/aluminium/roughness.jpg | Metal 009 (brushed metal) | ambientCG (Lennart Demes) | CC0 1.0 | https://ambientcg.com/a/Metal009 |
| textures/rubber/color.jpg, textures/rubber/normal.jpg, textures/rubber/roughness.jpg | Rubber 004 | ambientCG (Lennart Demes) | CC0 1.0 | https://ambientcg.com/a/Rubber004 |

## Environment

| File | Title | Author | Licence | Source |
|---|---|---|---|---|
| hdri/concrete_tunnel_1k.hdr | Concrete Tunnel (1k Radiance HDR, md5 84f667aa4ae1f635ec029e2be57ca99d as published) | Greg Zaal | CC0 1.0 | https://polyhaven.com/a/concrete_tunnel |

## Audio

All from Wikimedia Commons, downloaded as the MP3 that Commons itself transcodes from the original upload
(MP3 plays in every browser including iOS Safari; Ogg Vorbis does not everywhere). Renamed only.

| File | Title | Author | Licence | Source |
|---|---|---|---|---|
| audio/engine_v8_idle_rev.mp3 | Rover-v8-rr79.ogg (3.5 litre V8, 1979 Range Rover) | Collard at English Wikipedia | Public domain | https://commons.wikimedia.org/wiki/File:Rover-v8-rr79.ogg |
| audio/engine_v8_sport_exhaust.mp3 | Maserati GranTurismo S Exhaust.ogg (Freesound 465453) | lmartins | **CC BY 4.0** (https://creativecommons.org/licenses/by/4.0/) | https://commons.wikimedia.org/wiki/File:Maserati_GranTurismo_S_Exhaust.ogg (original: https://freesound.org/people/lmartins/sounds/465453/) |
| audio/engine_diesel_truck.mp3 | Detroit62.ogg (Detroit 6.2 L diesel) | Sixthstar | CC0 1.0 | https://commons.wikimedia.org/wiki/File:Detroit62.ogg |
| audio/car_start_and_drive.mp3 | Starting a car and driving.ogg (via PDSounds) | stephan | Public domain | https://commons.wikimedia.org/wiki/File:Starting_a_car_and_driving.ogg |
| audio/highway_traffic.mp3 | Highway from bridge right side.ogg (via PDSounds) | stephan | Public domain | https://commons.wikimedia.org/wiki/File:Highway_from_bridge_right_side.ogg |
| audio/cars_passing_bridge.mp3 | Cars passing over bridge.ogg (unedited field recording, grated bridge) | Dsw4 | Public domain | https://commons.wikimedia.org/wiki/File:Cars_passing_over_bridge.ogg |
| audio/van_pass_by.mp3 | WWS FSRTarpan239Dvandriving.ogg (FSR Tarpan 239 D van passing, recorded at the National Museum of Agriculture in Szreniawa) | Work With Sounds / Museum of Municipal Engineering | **CC BY 4.0** (https://creativecommons.org/licenses/by/4.0/) | https://commons.wikimedia.org/wiki/File:WWS_FSRTarpan239Dvandriving.ogg |

| audio/engine_bank.wav | Derived from "Maserati GranTurismo S Exhaust" (the row above): eight 0.36-3.4 s loops cut at steady holds (source seconds in `manifest.json` `audio.engineBank.layers[].source`), resampled so every engine cycle has the same period (YIN pitch track), level-flattened, seam-crossfaded, normalised to -20 dBFS RMS, mono 44.1 kHz WAV. **Modified** for this project | lmartins; modified for this project | **CC BY 4.0** | https://freesound.org/people/lmartins/sounds/465453/ |
| audio/sfx_bank.wav | Peak-normalised slices (DC removed, 3 ms fade-in, 12-20 ms fade-out), mono 44.1 kHz WAV, of: "Glass breaking", "Glass breaking 2", "Glass breaking 3", "Glass breaking 4" (Gravity Sound, **CC BY 4.0**, https://commons.wikimedia.org/wiki/File:Glass_breaking_(Gravity_Sound).wav and the _2_/_3_/_4_ files); "Metal Hit" (Gravity Sound, **CC BY 4.0**, https://commons.wikimedia.org/wiki/File:Metal_Hit_(Gravity_Sound).mp3); "Fake Metal Bat.wav" (Shawn Eary, CC0, https://commons.wikimedia.org/wiki/File:Fake_Metal_Bat.wav); "Hitting a wire cage.ogg" (stephan, public domain, https://commons.wikimedia.org/wiki/File:Hitting_a_wire_cage.ogg); "Close door 2" and "Close door" (Gravity Sound, **CC BY 4.0**, https://commons.wikimedia.org/wiki/File:Close_door_2_(Gravity_Sound).wav, https://commons.wikimedia.org/wiki/File:Close_door_(Gravity_Sound).wav); "Alarm clock ticking.ogg" (ezwa, public domain, https://commons.wikimedia.org/wiki/File:Alarm_clock_ticking.ogg); "Bathtub water splashes.ogg" (gradha, public domain, https://commons.wikimedia.org/wiki/File:Bathtub_water_splashes.ogg); "Howling wind.ogg" (Tvabutzku1234, CC0, https://commons.wikimedia.org/wiki/File:Howling_wind.ogg). Slice map in `manifest.json` `audio.sfxBank.slices`. **Modified** for this project | as listed | CC BY 4.0 / CC0 / public domain, per source | as listed |

Attribution lines for the CC BY files, ready to paste:

> "Maserati GranTurismo S Exhaust" by lmartins (https://freesound.org/people/lmartins/sounds/465453/), CC BY 4.0, via Wikimedia Commons.
>
> "FSR Tarpan 239 D van driving" by Work With Sounds / Museum of Municipal Engineering (https://commons.wikimedia.org/wiki/File:WWS_FSRTarpan239Dvandriving.ogg), CC BY 4.0.
>
> Engine loops derived from "Maserati GranTurismo S Exhaust" by lmartins (https://freesound.org/people/lmartins/sounds/465453/), CC BY 4.0; cut, pitch-flattened and looped for this game.
>
> "Glass breaking" 1-4, "Metal Hit", "Close door" and "Close door 2" by Gravity Sound (Wikimedia Commons), CC BY 4.0; sliced and normalised for this game.

## Models

Traffic cars: none (see `modelsNote` and `rejected` in `manifest.json`). The driver's hands:

| File | Title | Author | Licence | Source |
|---|---|---|---|---|
| models/hands/left.glb, models/hands/right.glb | WebXR Input Profiles, generic-hand (left / right), unmodified; posed and gloved at run time by src/cockpit.js | Amazon (immersive-web/webxr-input-profiles contributors) | MIT (Copyright (c) 2019 Amazon) | https://cdn.jsdelivr.net/npm/@webxr-input-profiles/assets@1.0/dist/profiles/generic-hand/ (package @webxr-input-profiles/assets 1.0.20, https://github.com/immersive-web/webxr-input-profiles) |


## Offline check

`node assets/verify-assets.mjs` (no dependencies) checks every manifest file exists, is under 8 MB, has matching magic bytes and JPEG dimensions, has a line here, that no media file is unlisted, and that the folder stays under 60 MB.
