create-threenative 0.2.18 → 0.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/agent-docs/references/capability-reference.md +212 -4
  2. package/agent-docs/references/kit-racing.md +4 -2
  3. package/agent-docs/references/performance-basics.md +2 -1
  4. package/agent-docs/references/terrain-authoring.md +21 -7
  5. package/agent-files/.agents/skills/prd-creator/SKILL.md +24 -0
  6. package/dist/index.js +255 -236
  7. package/dist/quality.d.ts +5 -1
  8. package/dist/quality.js +75 -6
  9. package/dist/terrain-kit.js +1 -1
  10. package/dist/threenative.js +6 -4
  11. package/dist/web-engine-post-effects.js +6 -0
  12. package/dist/web-engine-runtime.js +211 -36
  13. package/package.json +6 -6
  14. package/template-assets/assets/floor-fern-0.glb +0 -0
  15. package/template-assets/assets/floor-litter-0.glb +0 -0
  16. package/template-assets/assets/floor-log-0.glb +0 -0
  17. package/template-assets/assets/floor-log-1.glb +0 -0
  18. package/template-assets/assets/floor-stump-0.glb +0 -0
  19. package/template-assets/assets/floor-twig-0.glb +0 -0
  20. package/template-assets/quality/eslint.config.js +1 -1
  21. package/templates/action-rpg/package.json +7 -7
  22. package/templates/action-rpg/src/loot/drops.ts +3 -7
  23. package/templates/action-rpg/src/render/camera.ts +2 -2
  24. package/templates/action-rpg/src/render/clouds.ts +3 -1
  25. package/templates/action-rpg/src/render/materials.ts +3 -2
  26. package/templates/action-rpg/src/render/touch-controls.ts +7 -6
  27. package/templates/action-rpg/src/scenes/Play.ts +1 -15
  28. package/templates/adventure/AGENTS.md +3 -3
  29. package/templates/adventure/CLAUDE.md +3 -3
  30. package/templates/adventure/native-playtests/survives.playtest.json +12 -0
  31. package/templates/adventure/native-playtests/woodland-floor.playtest.json +61 -0
  32. package/templates/adventure/package.json +7 -7
  33. package/templates/adventure/playtests/grass.playtest.json +61 -0
  34. package/templates/adventure/playtests/performance.playtest.json +1 -1
  35. package/templates/adventure/playtests/survives.playtest.json +2 -2
  36. package/templates/adventure/playtests/woodland-floor.playtest.json +61 -0
  37. package/templates/adventure/src/entities/LockOn.ts +42 -4
  38. package/templates/adventure/src/entities/Warden.ts +4 -1
  39. package/templates/adventure/src/level/Vale.ts +241 -16
  40. package/templates/adventure/src/render/camera.ts +2 -2
  41. package/templates/adventure/src/render/foliage.ts +64 -20
  42. package/templates/adventure/src/render/grass.ts +325 -0
  43. package/templates/adventure/src/render/materials.ts +3 -2
  44. package/templates/adventure/src/render/palette.ts +3 -0
  45. package/templates/adventure/src/render/touch-controls.ts +4 -1
  46. package/templates/adventure/src/scenes/Play.ts +96 -1
  47. package/templates/collectathon/package.json +7 -7
  48. package/templates/collectathon/src/level/Course.ts +2 -7
  49. package/templates/collectathon/src/level/terrain.ts +2 -1
  50. package/templates/collectathon/src/render/camera.ts +2 -2
  51. package/templates/collectathon/src/render/ground.ts +4 -4
  52. package/templates/collectathon/src/render/hero.ts +1 -1
  53. package/templates/collectathon/src/render/materials.ts +0 -1
  54. package/templates/collectathon/src/render/sky.ts +4 -3
  55. package/templates/kart/package.json +6 -6
  56. package/templates/kart/src/entities/Kart.ts +2 -1
  57. package/templates/kart/src/render/course.ts +2 -1
  58. package/templates/kart/src/track/Course.ts +3 -1
  59. package/templates/minimal/package.json +6 -6
  60. package/templates/minimal/src/render/camera.ts +2 -2
  61. package/templates/minimal/src/render/clouds.ts +3 -1
  62. package/templates/minimal/src/render/materials.ts +3 -2
  63. package/templates/minimal/src/render/touch-controls.ts +7 -6
  64. package/templates/platformer/package.json +7 -7
  65. package/templates/platformer/playtests/collect.playtest.json +4 -1
  66. package/templates/platformer/src/level/Stage.ts +2 -6
  67. package/templates/platformer/src/scenes/Play.ts +2 -1
  68. package/templates/puzzle/package.json +7 -7
  69. package/templates/puzzle/src/entities/Warden.ts +3 -3
  70. package/templates/puzzle/src/render/camera.ts +2 -2
  71. package/templates/puzzle/src/render/touch-controls.ts +7 -6
  72. package/templates/racing/AGENTS.md +2 -2
  73. package/templates/racing/CLAUDE.md +2 -2
  74. package/templates/racing/CREDITS.md +29 -0
  75. package/templates/racing/assets/engine-loop.wav +0 -0
  76. package/templates/racing/assets/grass/Grass004_color.jpg +0 -0
  77. package/templates/racing/assets/grass/Grass004_normal.jpg +0 -0
  78. package/templates/racing/assets/grass/Grass004_roughness.jpg +0 -0
  79. package/templates/racing/assets/nitro-burst.wav +0 -0
  80. package/templates/racing/assets/tyre-squeal.wav +0 -0
  81. package/templates/racing/package.json +7 -7
  82. package/templates/racing/playtests/drift-natural.playtest.json +68 -0
  83. package/templates/racing/playtests/drift.playtest.json +100 -0
  84. package/templates/racing/playtests/hud.playtest.json +117 -0
  85. package/templates/racing/playtests/launch-pose.playtest.json +34 -0
  86. package/templates/racing/playtests/nitro.playtest.json +158 -0
  87. package/templates/racing/playtests/outcome.playtest.json +4 -4
  88. package/templates/racing/playtests/performance.playtest.json +1 -1
  89. package/templates/racing/playtests/steady-camera.playtest.json +88 -0
  90. package/templates/racing/src/audio/engine.ts +138 -0
  91. package/templates/racing/src/entities/CarBody.ts +83 -10
  92. package/templates/racing/src/entities/Drift.ts +243 -0
  93. package/templates/racing/src/entities/LineDriver.ts +2 -2
  94. package/templates/racing/src/entities/Nitro.ts +72 -0
  95. package/templates/racing/src/entities/RacingCar.ts +86 -21
  96. package/templates/racing/src/entities/Rival.ts +35 -21
  97. package/templates/racing/src/game.ts +6 -0
  98. package/templates/racing/src/gauges.ts +74 -0
  99. package/templates/racing/src/render/camera.ts +29 -4
  100. package/templates/racing/src/render/clouds.ts +3 -1
  101. package/templates/racing/src/render/effects.ts +244 -0
  102. package/templates/racing/src/render/materials.ts +43 -8
  103. package/templates/racing/src/render/shapes.ts +37 -0
  104. package/templates/racing/src/render/skids.ts +84 -0
  105. package/templates/racing/src/render/touch-controls.ts +10 -10
  106. package/templates/racing/src/scenes/Race.ts +277 -25
  107. package/templates/racing/src/state.ts +35 -0
  108. package/templates/racing/src/style.css +3 -0
  109. package/templates/racing/src/track/Track.ts +132 -58
  110. package/templates/racing/src/track/TrackSector.ts +19 -1
  111. package/templates/racing/src/track/circuit.ts +21 -15
  112. package/templates/racing/src/ui/GameUi.tsx +0 -2
  113. package/templates/racing/src/ui/Hud.tsx +417 -50
  114. package/templates/racing/threenative.config.ts +15 -0
  115. package/templates/racing/tools/make-racing-audio.mjs +388 -0
  116. package/templates/rain/package.json +6 -6
  117. package/templates/rain/src/render/noise-volume.ts +2 -1
  118. package/templates/rain/src/state.ts +3 -1
  119. package/templates/rain/src/ui/GameUi.tsx +1 -1
  120. package/templates/rain/src/ui/automation.ts +10 -8
  121. package/templates/rain/src/ui/tempest.ts +3 -4
  122. package/templates/rts/package.json +6 -6
  123. package/templates/rts/src/sim/terrain.ts +1 -0
  124. package/templates/rts/src/sim/types.ts +1 -0
  125. package/templates/runner/package.json +7 -7
  126. package/templates/runner/src/render/clouds.ts +3 -1
  127. package/templates/runner/src/render/materials.ts +3 -2
  128. package/templates/runner/src/render/touch-controls.ts +7 -6
  129. package/templates/runner/src/scenes/Run.ts +4 -9
  130. package/templates/sailing/package.json +7 -7
  131. package/templates/sailing/src/render/touch-controls.ts +7 -6
  132. package/templates/shooter/package.json +7 -7
  133. package/templates/shooter/src/render/clouds.ts +3 -1
  134. package/templates/snow/package.json +7 -7
  135. package/templates/snow/src/entities/Explorer.ts +6 -12
  136. package/templates/snow/src/render/bootPrint.ts +3 -1
  137. package/templates/snow/src/render/camera.ts +3 -2
  138. package/templates/snow/src/render/scenery.ts +3 -3
  139. package/templates/snow/src/render/touch-controls.ts +7 -6
  140. package/templates/snow/src/render/weather.ts +3 -5
  141. package/templates/snow/src/terrain.ts +2 -1
  142. package/templates/starter/native-playtests/render-chain.playtest.json +9 -9
  143. package/templates/starter/package.json +7 -7
  144. package/templates/starter/src/entities/Player.ts +10 -2
  145. package/templates/starter/src/render/camera.ts +2 -2
  146. package/templates/starter/src/render/clouds.ts +3 -1
  147. package/templates/starter/src/render/materials.ts +3 -2
  148. package/templates/starter/src/render/touch-controls.ts +7 -6
  149. package/templates/starter/src/scenes/Play.ts +1 -14
  150. package/templates/tower-defense/package.json +7 -7
  151. package/templates/tower-defense/src/render/shapes.ts +1 -2
  152. package/templates/tower-defense/src/scenes/Battle.ts +3 -8
  153. package/template-assets/terrain/alpine/assets.json +0 -12
  154. package/template-assets/terrain/alpine/bake.mjs +0 -6
  155. package/template-assets/terrain/alpine/credits.json +0 -164
  156. package/template-assets/terrain/alpine/heightmap.r16 +0 -0
  157. package/template-assets/terrain/alpine/recipe.json +0 -119
  158. package/template-assets/terrain/alpine/surface.json +0 -53
  159. package/template-assets/terrain/coastal/assets.json +0 -11
  160. package/template-assets/terrain/coastal/bake.mjs +0 -6
  161. package/template-assets/terrain/coastal/credits.json +0 -117
  162. package/template-assets/terrain/coastal/heightmap.r16 +0 -0
  163. package/template-assets/terrain/coastal/recipe.json +0 -113
  164. package/template-assets/terrain/coastal/surface.json +0 -41
  165. package/template-assets/terrain/desert/assets.json +0 -12
  166. package/template-assets/terrain/desert/bake.mjs +0 -6
  167. package/template-assets/terrain/desert/credits.json +0 -164
  168. package/template-assets/terrain/desert/heightmap.r16 +0 -0
  169. package/template-assets/terrain/desert/recipe.json +0 -108
  170. package/template-assets/terrain/desert/surface.json +0 -54
  171. package/template-assets/terrain/forest/assets.json +0 -65
  172. package/template-assets/terrain/forest/bake.mjs +0 -8
  173. package/template-assets/terrain/forest/credits.json +0 -225
  174. package/template-assets/terrain/forest/heightmap.r16 +0 -0
  175. package/template-assets/terrain/forest/recipe.json +0 -350
  176. package/template-assets/terrain/forest/surface.json +0 -79
  177. package/template-assets/terrain/tundra/assets.json +0 -12
  178. package/template-assets/terrain/tundra/bake.mjs +0 -6
  179. package/template-assets/terrain/tundra/credits.json +0 -164
  180. package/template-assets/terrain/tundra/heightmap.r16 +0 -0
  181. package/template-assets/terrain/tundra/recipe.json +0 -277
  182. package/template-assets/terrain/tundra/surface.json +0 -54
  183. package/templates/racing/src/ui/Menu.tsx +0 -7
@@ -1,164 +0,0 @@
1
- {
2
- "version": 1,
3
- "kit": "tundra",
4
- "purpose": "Credits for the sets, textures, props and sky this kit cites. Each record is copied from starter-assets/credits.json.",
5
- "source": "Poly Haven",
6
- "sourceUrl": "https://polyhaven.com",
7
- "license": "CC0 1.0 Universal (public domain dedication)",
8
- "licenseUrl": "https://polyhaven.com/license",
9
- "sets": {
10
- "mossy_rock": {
11
- "asset": "Mossy Rock",
12
- "author": "Poly Haven / Dario Barresi",
13
- "license": "CC0",
14
- "groundLayer": "moss",
15
- "metresPerTile": 3.6,
16
- "note": "Substituted for the shortlist's Rock Moss Set 02: that set's 1K diffuse is an atlas of seven rocks over black unused cells with starburst edges, not a tileable ground map. Mossy Rock (CC0, Poly Haven) is tileable, mossy and stony."
17
- },
18
- "snow_02": {
19
- "asset": "Snow 02",
20
- "author": "Rob Tuytel",
21
- "license": "CC0",
22
- "groundLayer": "snow",
23
- "metresPerTile": 12,
24
- "note": null
25
- },
26
- "rock_boulder_dry": {
27
- "asset": "Rock Boulder Dry",
28
- "author": "Dimitrios Savva (Photography), Rico Cilliers (Processing)",
29
- "license": "CC0",
30
- "groundLayer": null,
31
- "metresPerTile": null,
32
- "note": "The dry grey granite-ish boulder set. Its 1K diffuse is tileable stone, not an atlas: the seam column differs from the last by 5.7 grey levels against an interior neighbour difference of 7.5, so it wraps as well as the map averages."
33
- }
34
- },
35
- "files": [
36
- {
37
- "set": "mossy_rock",
38
- "asset": "Mossy Rock",
39
- "author": "Poly Haven / Dario Barresi",
40
- "license": "CC0",
41
- "map": "diff",
42
- "file": "mossy_rock/mossy_rock_diff_1k.jpg",
43
- "url": "https://dl.polyhaven.org/file/ph-assets/Textures/jpg/1k/mossy_rock/mossy_rock_diff_1k.jpg",
44
- "bytes": 1124438,
45
- "dimensions": "1024x1024",
46
- "colourSpace": "srgb",
47
- "metresPerTile": 3.6,
48
- "groundLayer": "moss",
49
- "sampledByTemperateGround": true,
50
- "sha256": "4dbf37f1b0465c9c8914213163923be159716f5b97fb6946437b6c5e143ef540"
51
- },
52
- {
53
- "set": "mossy_rock",
54
- "asset": "Mossy Rock",
55
- "author": "Poly Haven / Dario Barresi",
56
- "license": "CC0",
57
- "map": "nor_gl",
58
- "file": "mossy_rock/mossy_rock_nor_gl_1k.jpg",
59
- "url": "https://dl.polyhaven.org/file/ph-assets/Textures/jpg/1k/mossy_rock/mossy_rock_nor_gl_1k.jpg",
60
- "bytes": 995727,
61
- "dimensions": "1024x1024",
62
- "colourSpace": "linear",
63
- "metresPerTile": 3.6,
64
- "groundLayer": "moss",
65
- "sampledByTemperateGround": true,
66
- "sha256": "232cdd6a9fdfd01bb8bb1f8f604c53dbca79fa0d3d7995edf85c9945757aa8df"
67
- },
68
- {
69
- "set": "snow_02",
70
- "asset": "Snow 02",
71
- "author": "Rob Tuytel",
72
- "license": "CC0",
73
- "map": "diff",
74
- "file": "snow_02/snow_02_diff_1k.jpg",
75
- "url": "https://dl.polyhaven.org/file/ph-assets/Textures/jpg/1k/snow_02/snow_02_diff_1k.jpg",
76
- "bytes": 325497,
77
- "dimensions": "1024x1024",
78
- "colourSpace": "srgb",
79
- "metresPerTile": 12,
80
- "groundLayer": "snow",
81
- "sampledByTemperateGround": true,
82
- "sha256": "523a4e69c90b96d787dd69b897f29a2b3761a017024405c60aa630d1e8e9009a"
83
- },
84
- {
85
- "set": "snow_02",
86
- "asset": "Snow 02",
87
- "author": "Rob Tuytel",
88
- "license": "CC0",
89
- "map": "nor_gl",
90
- "file": "snow_02/snow_02_nor_gl_1k.jpg",
91
- "url": "https://dl.polyhaven.org/file/ph-assets/Textures/jpg/1k/snow_02/snow_02_nor_gl_1k.jpg",
92
- "bytes": 1081858,
93
- "dimensions": "1024x1024",
94
- "colourSpace": "linear",
95
- "metresPerTile": 12,
96
- "groundLayer": "snow",
97
- "sampledByTemperateGround": false,
98
- "sha256": "9495ec680616b8340e2cbecbd151bff84c690cfad4209e90cc98d2d0ba81f810"
99
- },
100
- {
101
- "set": "rock_boulder_dry",
102
- "asset": "Rock Boulder Dry",
103
- "author": "Dimitrios Savva (Photography), Rico Cilliers (Processing)",
104
- "license": "CC0",
105
- "map": "diff",
106
- "file": "rock_boulder_dry/rock_boulder_dry_diff_512.jpg",
107
- "url": "https://dl.polyhaven.org/file/ph-assets/Textures/jpg/1k/rock_boulder_dry/rock_boulder_dry_diff_1k.jpg",
108
- "bytes": 87707,
109
- "dimensions": "512x512",
110
- "colourSpace": "srgb",
111
- "metresPerTile": null,
112
- "groundLayer": null,
113
- "sampledByTemperateGround": false,
114
- "sha256": "dde5d4cf88dce2a3bcde0490c509f0a5f375c4aa002aa08f96afa6e0fb4f6c7b"
115
- },
116
- {
117
- "set": "rock_boulder_dry",
118
- "asset": "Rock Boulder Dry",
119
- "author": "Dimitrios Savva (Photography), Rico Cilliers (Processing)",
120
- "license": "CC0",
121
- "map": "nor_gl",
122
- "file": "rock_boulder_dry/rock_boulder_dry_nor_gl_512.jpg",
123
- "url": "https://dl.polyhaven.org/file/ph-assets/Textures/jpg/1k/rock_boulder_dry/rock_boulder_dry_nor_gl_1k.jpg",
124
- "bytes": 60524,
125
- "dimensions": "512x512",
126
- "colourSpace": "linear",
127
- "metresPerTile": null,
128
- "groundLayer": null,
129
- "sampledByTemperateGround": false,
130
- "sha256": "5039f885b242fdb9f4b15b1cde8d09dca53ec50d37544ffb72154505ba2fc136"
131
- },
132
- {
133
- "set": "kloofendal_48d_partly_cloudy",
134
- "asset": "Kloofendal 48d Partly Cloudy",
135
- "author": "Greg Zaal",
136
- "license": "CC0",
137
- "map": "hdri",
138
- "file": "hdri/kloofendal_48d_partly_cloudy_1k.hdr",
139
- "url": "https://dl.polyhaven.org/file/ph-assets/HDRIs/hdr/1k/kloofendal_48d_partly_cloudy_1k.hdr",
140
- "bytes": 1637206,
141
- "dimensions": "1024x512",
142
- "colourSpace": "linear",
143
- "sha256": "5477b7dbb2aea4a6947cb36b96339c119f90bf36a03b039af3254b5e6a22896d"
144
- }
145
- ],
146
- "prepared": {
147
- "assets": [
148
- {
149
- "asset": "Boulder 01",
150
- "authors": "Rob Tuytel",
151
- "license": "CC0",
152
- "url": "https://polyhaven.com/a/boulder_01",
153
- "note": "A second source, so a meadow's stones are not one rock copied."
154
- },
155
- {
156
- "asset": "Boulder 01",
157
- "authors": "Poly Haven",
158
- "license": "CC0",
159
- "url": "https://polyhaven.com/a/boulder_01",
160
- "note": "Authored LOD1 (33,060 tris) and LOD2 (16,530 tris) with base, normal and roughness maps, exported by examples/strata-terrain-preview/scripts/prep-polyhaven-rock.py; the forest starter kit's boulder."
161
- }
162
- ]
163
- }
164
- }
@@ -1,277 +0,0 @@
1
- {
2
- "version": 1,
3
- "recipe": {
4
- "version": 1,
5
- "config": {
6
- "size": 512,
7
- "resolution": 257,
8
- "seed": 131
9
- },
10
- "layers": [
11
- {
12
- "enabled": true,
13
- "opacity": 1,
14
- "id": "usgs-3dep",
15
- "type": "heightmap",
16
- "params": {
17
- "data": {
18
- "width": 257,
19
- "height": 257,
20
- "raw16": "heightmap.r16",
21
- "min": 9.3,
22
- "max": 6562.8
23
- }
24
- }
25
- },
26
- {
27
- "enabled": true,
28
- "opacity": 1,
29
- "id": "surface-runoff",
30
- "type": "erode",
31
- "params": {
32
- "method": "hydraulic",
33
- "droplets": 20000,
34
- "maxSteps": 45,
35
- "capacity": 2,
36
- "erosion": 0.015,
37
- "strength": 0.002,
38
- "deposition": 0.2,
39
- "evaporation": 0.035
40
- }
41
- },
42
- {
43
- "enabled": true,
44
- "opacity": 1,
45
- "id": "loose-talus",
46
- "type": "erode",
47
- "params": {
48
- "method": "thermal",
49
- "talus": 38,
50
- "iterations": 1,
51
- "rate": 0.004
52
- }
53
- },
54
- {
55
- "enabled": true,
56
- "opacity": 1,
57
- "id": "near-kettle-bed",
58
- "type": "flatten",
59
- "params": {
60
- "at": [
61
- 65,
62
- 80
63
- ],
64
- "radius": 30,
65
- "height": 27,
66
- "falloff": 0.65
67
- }
68
- },
69
- {
70
- "enabled": true,
71
- "opacity": 1,
72
- "id": "far-kettle-bed",
73
- "type": "flatten",
74
- "params": {
75
- "at": [
76
- -65,
77
- -50
78
- ],
79
- "radius": 42,
80
- "height": 28,
81
- "falloff": 0.65
82
- }
83
- },
84
- {
85
- "enabled": true,
86
- "opacity": 1,
87
- "id": "meltwater",
88
- "type": "river",
89
- "params": {
90
- "points": [
91
- [
92
- -210,
93
- 36,
94
- -135
95
- ],
96
- [
97
- -125,
98
- 33,
99
- -80
100
- ],
101
- [
102
- -100,
103
- 30,
104
- -90
105
- ],
106
- [
107
- -65,
108
- 30,
109
- -50
110
- ],
111
- [
112
- -30,
113
- 30,
114
- -15
115
- ],
116
- [
117
- 0,
118
- 29.3,
119
- 5
120
- ],
121
- [
122
- 38,
123
- 28.8,
124
- 47
125
- ],
126
- [
127
- 65,
128
- 28.8,
129
- 80
130
- ],
131
- [
132
- 100,
133
- 28.8,
134
- 100
135
- ],
136
- [
137
- 160,
138
- 27,
139
- 140
140
- ],
141
- [
142
- 250,
143
- 26,
144
- 150
145
- ]
146
- ],
147
- "width": 7,
148
- "depth": 1.5,
149
- "shoulder": 18,
150
- "enforceDownhill": true
151
- }
152
- },
153
- {
154
- "enabled": true,
155
- "opacity": 1,
156
- "id": "braid",
157
- "type": "river",
158
- "params": {
159
- "points": [
160
- [
161
- -65,
162
- 30,
163
- -50
164
- ],
165
- [
166
- -40,
167
- 30,
168
- -18
169
- ],
170
- [
171
- -30,
172
- 29.4,
173
- 40
174
- ],
175
- [
176
- 15,
177
- 28.8,
178
- 105
179
- ],
180
- [
181
- 65,
182
- 28.8,
183
- 80
184
- ]
185
- ],
186
- "width": 4,
187
- "depth": 1.2,
188
- "shoulder": 12,
189
- "enforceDownhill": true
190
- }
191
- },
192
- {
193
- "enabled": true,
194
- "opacity": 1,
195
- "id": "near-kettle",
196
- "type": "water",
197
- "params": {
198
- "kind": "lake",
199
- "at": [
200
- 65,
201
- 80
202
- ],
203
- "radius": 34,
204
- "level": 28.8
205
- }
206
- },
207
- {
208
- "enabled": true,
209
- "opacity": 1,
210
- "id": "far-kettle",
211
- "type": "water",
212
- "params": {
213
- "kind": "lake",
214
- "at": [
215
- -65,
216
- -50
217
- ],
218
- "radius": 46,
219
- "level": 30
220
- }
221
- },
222
- {
223
- "enabled": true,
224
- "opacity": 1,
225
- "id": "surfaces",
226
- "type": "materials",
227
- "params": {
228
- "rules": [
229
- {
230
- "material": "moss",
231
- "mask": {
232
- "type": "all"
233
- }
234
- },
235
- {
236
- "material": "snow",
237
- "mask": {
238
- "type": "noise",
239
- "scale": 85,
240
- "threshold": 0.68,
241
- "seed": 131,
242
- "fade": 0.3
243
- },
244
- "strength": 0.6
245
- },
246
- {
247
- "material": "rock",
248
- "mask": {
249
- "type": "slope",
250
- "min": 23,
251
- "max": 90,
252
- "fade": 8
253
- }
254
- }
255
- ]
256
- }
257
- },
258
- {
259
- "enabled": true,
260
- "opacity": 1,
261
- "id": "erratics",
262
- "type": "scatter",
263
- "params": {
264
- "asset": "boulder",
265
- "count": 70,
266
- "minDistance": 8,
267
- "maxSlope": 30,
268
- "avoidWater": true,
269
- "scale": [
270
- 0.6,
271
- 1.8
272
- ]
273
- }
274
- }
275
- ]
276
- }
277
- }
@@ -1,54 +0,0 @@
1
- {
2
- "base": {
3
- "id": "moss",
4
- "tile": 3.6,
5
- "tint": [1, 1, 1],
6
- "normal": true,
7
- "triplanar": true
8
- },
9
- "breakup": {
10
- "scale": 0.05,
11
- "push": 0.12
12
- },
13
- "macro": {
14
- "scale": 0.006,
15
- "min": 0.75,
16
- "max": 1.1
17
- },
18
- "layers": [
19
- {
20
- "id": "snow",
21
- "tile": 4.5,
22
- "tint": [1, 1, 1],
23
- "normal": true,
24
- "mask": "snow",
25
- "lo": 0.3,
26
- "hi": 0.7
27
- },
28
- {
29
- "id": "rock",
30
- "tile": 3.8,
31
- "tint": [1, 1, 1],
32
- "normal": true,
33
- "triplanar": true,
34
- "mask": "rock",
35
- "lo": 0.25,
36
- "hi": 0.75
37
- }
38
- ],
39
- "textures": "textures",
40
- "sources": {
41
- "moss": {
42
- "diff": "mossy_rock/mossy_rock_diff_1k.jpg",
43
- "nrm": "mossy_rock/mossy_rock_nor_gl_1k.jpg"
44
- },
45
- "snow": {
46
- "diff": "snow_02/snow_02_diff_1k.jpg",
47
- "nrm": "snow_02/snow_02_nor_gl_1k.jpg"
48
- },
49
- "rock": {
50
- "diff": "rock_boulder_dry/rock_boulder_dry_diff_512.jpg",
51
- "nrm": "rock_boulder_dry/rock_boulder_dry_nor_gl_512.jpg"
52
- }
53
- }
54
- }
@@ -1,7 +0,0 @@
1
- export function Menu() {
2
- return (
3
- <div className="pointer-events-none absolute bottom-6 right-6 border border-line bg-panel/80 px-4 py-3 text-[10px] uppercase tracking-[0.14em] text-muted">
4
- arrows / WASD drive · shift brake · space boost
5
- </div>
6
- );
7
- }