@threenative/terrain 0.1.11 → 0.1.12
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.
- package/README.md +1 -0
- package/dist/bake-DJ5cxg0C.d.ts +82 -0
- package/dist/editor/index.d.ts +4 -4
- package/dist/editor/index.js +1 -1
- package/dist/editor/server.d.ts +2 -2
- package/dist/editor/worker.d.ts +1 -1
- package/dist/editor/worker.js +1 -1
- package/dist/export.d.ts +1 -1
- package/dist/index.d.ts +51 -222
- package/dist/index.js +111 -2
- package/dist/kit-world.d.ts +107 -0
- package/dist/kit-world.js +5134 -0
- package/dist/kit.d.ts +21 -4
- package/dist/kit.js +19 -4
- package/dist/mcp/cook-child.js +9 -6
- package/dist/mcp/server.js +14 -4
- package/dist/prop-package-Dwz0EWoB.d.ts +141 -0
- package/dist/{server-B5RdvEAC.d.ts → server-LnFwY8sr.d.ts} +1 -1
- package/dist/starter.d.ts +1141 -6
- package/dist/starter.js +1999 -17
- package/dist/{terrain-CAEaW0mQ.d.ts → terrain-DYCyAOCJ.d.ts} +1 -1
- package/dist/three.d.ts +1 -1
- package/dist/{types-BpH00qsx.d.ts → types-kpI0C4hW.d.ts} +1 -1
- package/dist/{world-package-B8QgHjAQ.d.ts → world-package-DqJC3-Nn.d.ts} +2 -2
- package/docs/authoring/new-environment.md +97 -0
- package/package.json +8 -8
- package/starter/alpine/README.md +22 -14
- package/starter/alpine/bake.mjs +14 -1
- package/starter/alpine/biome.data.json +187 -25
- package/starter/alpine/heightmap.r16 +0 -0
- package/starter/alpine/playerRig.ts +89 -0
- package/starter/alpine/recipe.json +169 -15
- package/starter/alpine/render/bakedFile.ts +17 -0
- package/starter/alpine/render/benchmark.ts +77 -0
- package/starter/alpine/render/biomeData.ts +14 -0
- package/starter/alpine/render/biomes.ts +687 -0
- package/starter/alpine/render/ground/cover.ts +565 -0
- package/starter/alpine/render/ground/horizon.ts +219 -0
- package/starter/alpine/render/ground/palette.d.ts +1 -0
- package/starter/alpine/render/ground/palette.js +11 -0
- package/starter/alpine/render/ground/scatter.ts +104 -0
- package/starter/alpine/render/ground/terrain.ts +1860 -0
- package/starter/alpine/render/kitAssets.ts +28 -0
- package/starter/alpine/render/loading.ts +354 -0
- package/starter/alpine/render/lookKnobs.ts +37 -0
- package/starter/alpine/render/orbitCamera.ts +155 -0
- package/starter/alpine/render/props/farForest.ts +94 -0
- package/starter/alpine/render/props/pack.ts +1114 -0
- package/starter/alpine/render/props/prepared.ts +225 -0
- package/starter/alpine/render/props/propMaterials.ts +1239 -0
- package/starter/alpine/render/props/propProgress.ts +2 -0
- package/starter/alpine/render/props/propWorld.ts +105 -0
- package/starter/alpine/render/props/props.ts +633 -0
- package/starter/alpine/render/props/spruce.ts +440 -0
- package/starter/alpine/render/sky/atmosphere.ts +329 -0
- package/starter/alpine/render/sky/sky.ts +382 -0
- package/starter/alpine/render/texturePreparation.ts +135 -0
- package/starter/alpine/render/water/river.ts +1132 -0
- package/starter/alpine/render/worldNames.ts +6 -0
- package/starter/alpine/scene.ts +715 -0
- package/starter/alpine/sceneProps.ts +561 -0
- package/starter/alpine/sceneState.ts +33 -0
- package/starter/alpine/world/terrainAssets.ts +145 -0
- package/starter/alpine/world/walkBand.ts +47 -0
- package/starter/alpine/world/water.ts +74 -0
- package/starter/alpine/worlds.ts +13 -0
- package/starter/coastal/README.md +26 -27
- package/starter/coastal/assets.json +10 -0
- package/starter/coastal/bake.mjs +14 -1
- package/starter/coastal/biome.data.json +18 -3
- package/starter/coastal/playerRig.ts +89 -0
- package/starter/coastal/recipe.json +220 -18
- package/starter/coastal/render/bakedFile.ts +17 -0
- package/starter/coastal/render/benchmark.ts +81 -0
- package/starter/coastal/render/biomeData.ts +14 -0
- package/starter/coastal/render/biomes.ts +678 -0
- package/starter/coastal/render/ground/cover.ts +565 -0
- package/starter/coastal/render/ground/horizon.ts +219 -0
- package/starter/coastal/render/ground/palette.d.ts +1 -0
- package/starter/coastal/render/ground/palette.js +11 -0
- package/starter/coastal/render/ground/scatter.ts +104 -0
- package/starter/coastal/render/ground/terrain.ts +1829 -0
- package/starter/coastal/render/kitAssets.ts +28 -0
- package/starter/coastal/render/loading.ts +354 -0
- package/starter/coastal/render/lookKnobs.ts +37 -0
- package/starter/coastal/render/orbitCamera.ts +155 -0
- package/starter/coastal/render/props/farForest.ts +94 -0
- package/starter/coastal/render/props/pack.ts +1109 -0
- package/starter/coastal/render/props/prepared.ts +225 -0
- package/starter/coastal/render/props/propMaterials.ts +1239 -0
- package/starter/coastal/render/props/propProgress.ts +2 -0
- package/starter/coastal/render/props/propWorld.ts +105 -0
- package/starter/coastal/render/props/props.ts +633 -0
- package/starter/coastal/render/props/spruce.ts +440 -0
- package/starter/coastal/render/sky/atmosphere.ts +329 -0
- package/starter/coastal/render/sky/sky.ts +382 -0
- package/starter/coastal/render/texturePreparation.ts +135 -0
- package/starter/coastal/render/water/ocean.ts +284 -0
- package/starter/coastal/render/water/river.ts +1132 -0
- package/starter/coastal/render/worldNames.ts +6 -0
- package/starter/coastal/scene.ts +740 -0
- package/starter/coastal/sceneProps.ts +559 -0
- package/starter/coastal/sceneState.ts +33 -0
- package/starter/coastal/world/terrainAssets.ts +151 -0
- package/starter/coastal/world/walkBand.ts +47 -0
- package/starter/coastal/world/water.ts +74 -0
- package/starter/coastal/worlds.ts +13 -0
- package/starter/desert/README.md +51 -25
- package/starter/desert/bake-flora.mjs +142 -0
- package/starter/desert/bake-rocks.mjs +291 -0
- package/starter/desert/bake.mjs +14 -1
- package/starter/desert/biome.data.json +24 -12
- package/starter/desert/playerRig.ts +89 -0
- package/starter/desert/recipe.json +63 -16
- package/starter/desert/render/bakedFile.ts +17 -0
- package/starter/desert/render/benchmark.ts +79 -0
- package/starter/desert/render/biomeData.ts +14 -0
- package/starter/desert/render/biomes.ts +660 -0
- package/starter/desert/render/ground/cover.ts +565 -0
- package/starter/desert/render/ground/debris.ts +136 -0
- package/starter/desert/render/ground/horizon.ts +219 -0
- package/starter/desert/render/ground/palette.d.ts +1 -0
- package/starter/desert/render/ground/palette.js +11 -0
- package/starter/desert/render/ground/scatter.ts +104 -0
- package/starter/desert/render/ground/terrain.ts +1854 -0
- package/starter/desert/render/kitAssets.ts +28 -0
- package/starter/desert/render/loading.ts +354 -0
- package/starter/desert/render/lookKnobs.ts +37 -0
- package/starter/desert/render/orbitCamera.ts +155 -0
- package/starter/desert/render/props/farForest.ts +96 -0
- package/starter/desert/render/props/formations.ts +630 -0
- package/starter/desert/render/props/pack.ts +1195 -0
- package/starter/desert/render/props/prepared.ts +225 -0
- package/starter/desert/render/props/propMaterials.ts +1255 -0
- package/starter/desert/render/props/propProgress.ts +2 -0
- package/starter/desert/render/props/propWorld.ts +105 -0
- package/starter/desert/render/props/props.ts +624 -0
- package/starter/desert/render/props/spruce.ts +440 -0
- package/starter/desert/render/sand.ts +581 -0
- package/starter/desert/render/sky/atmosphere.ts +329 -0
- package/starter/desert/render/sky/sky.ts +382 -0
- package/starter/desert/render/texturePreparation.ts +135 -0
- package/starter/desert/render/water/river.ts +1132 -0
- package/starter/desert/render/worldNames.ts +6 -0
- package/starter/desert/scene.ts +748 -0
- package/starter/desert/sceneProps.ts +562 -0
- package/starter/desert/sceneState.ts +33 -0
- package/starter/desert/world/terrainAssets.ts +162 -0
- package/starter/desert/world/walkBand.ts +47 -0
- package/starter/desert/world/water.ts +74 -0
- package/starter/desert/worlds.ts +13 -0
- package/starter/forest/README.md +8 -5
- package/starter/forest/bake.mjs +21 -413
- package/starter/forest/playerRig.ts +37 -171
- package/starter/forest/recipe.json +237 -47
- package/starter/forest/render/biomes.ts +2 -1
- package/starter/forest/render/ground/horizon.ts +4 -302
- package/starter/forest/render/ground/terrain.ts +14 -32
- package/starter/forest/render/kitAssets.ts +3 -2
- package/starter/forest/render/props/farForest.ts +2 -1
- package/starter/forest/render/props/pack.ts +4 -2
- package/starter/forest/render/props/prepared.ts +2 -1
- package/starter/forest/render/props/propProgress.ts +1 -11
- package/starter/forest/render/props/propWorld.ts +48 -662
- package/starter/forest/render/props/props.ts +64 -248
- package/starter/forest/render/sky/sky.ts +2 -1
- package/starter/forest/render/worldNames.ts +6 -2
- package/starter/forest/scene.ts +34 -25
- package/starter/forest/sceneProps.ts +2 -2
- package/starter/forest/sceneState.ts +5 -4
- package/starter/forest/surface.json +2 -2
- package/starter/forest/worlds.ts +3 -2
- package/starter/tundra/README.md +35 -16
- package/starter/tundra/bake.mjs +14 -1
- package/starter/tundra/biome.data.json +6 -6
- package/starter/tundra/playerRig.ts +89 -0
- package/starter/tundra/recipe.json +111 -110
- package/starter/tundra/render/bakedFile.ts +17 -0
- package/starter/tundra/render/benchmark.ts +79 -0
- package/starter/tundra/render/biomeData.ts +14 -0
- package/starter/tundra/render/biomes.ts +714 -0
- package/starter/tundra/render/ground/cover.ts +565 -0
- package/starter/tundra/render/ground/horizon.ts +219 -0
- package/starter/tundra/render/ground/palette.d.ts +1 -0
- package/starter/tundra/render/ground/palette.js +11 -0
- package/starter/tundra/render/ground/scatter.ts +104 -0
- package/starter/tundra/render/ground/terrain.ts +1874 -0
- package/starter/tundra/render/kitAssets.ts +28 -0
- package/starter/tundra/render/loading.ts +354 -0
- package/starter/tundra/render/lookKnobs.ts +37 -0
- package/starter/tundra/render/orbitCamera.ts +155 -0
- package/starter/tundra/render/props/farForest.ts +96 -0
- package/starter/tundra/render/props/pack.ts +1088 -0
- package/starter/tundra/render/props/prepared.ts +225 -0
- package/starter/tundra/render/props/propMaterials.ts +1247 -0
- package/starter/tundra/render/props/propProgress.ts +2 -0
- package/starter/tundra/render/props/propWorld.ts +105 -0
- package/starter/tundra/render/props/props.ts +624 -0
- package/starter/tundra/render/props/spruce.ts +440 -0
- package/starter/tundra/render/sky/atmosphere.ts +329 -0
- package/starter/tundra/render/sky/sky.ts +382 -0
- package/starter/tundra/render/texturePreparation.ts +135 -0
- package/starter/tundra/render/water/river.ts +1132 -0
- package/starter/tundra/render/worldNames.ts +6 -0
- package/starter/tundra/scene.ts +715 -0
- package/starter/tundra/sceneProps.ts +559 -0
- package/starter/tundra/sceneState.ts +33 -0
- package/starter/tundra/world/terrainAssets.ts +159 -0
- package/starter/tundra/world/walkBand.ts +47 -0
- package/starter/tundra/world/water.ts +74 -0
- package/starter/tundra/worlds.ts +13 -0
- package/starter-assets.json +4 -4
- package/starter-credits.json +613 -10
- package/starter/forest/diagnostics.ts +0 -1020
- package/starter/forest/render/sky/skyVisibility.ts +0 -121
- package/starter/forest/spawnGate.ts +0 -183
- package/starter/forest/viewStatistics.ts +0 -47
- package/starter/forest/world/streamedGround.ts +0 -139
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
{
|
|
62
62
|
"material": "dirt",
|
|
63
63
|
"mask": {
|
|
64
|
-
"type": "
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
"type": "noise",
|
|
65
|
+
"scale": 78,
|
|
66
|
+
"threshold": 0.52,
|
|
67
|
+
"seed": 73,
|
|
68
|
+
"fade": 0.32
|
|
69
69
|
},
|
|
70
|
-
"strength": 0.
|
|
70
|
+
"strength": 0.5
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"material": "rock",
|
|
@@ -77,28 +77,6 @@
|
|
|
77
77
|
"max": 90,
|
|
78
78
|
"fade": 9
|
|
79
79
|
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"material": "moss",
|
|
83
|
-
"mask": {
|
|
84
|
-
"type": "and",
|
|
85
|
-
"masks": [
|
|
86
|
-
{
|
|
87
|
-
"type": "noise",
|
|
88
|
-
"scale": 32,
|
|
89
|
-
"threshold": 0.6,
|
|
90
|
-
"seed": 89,
|
|
91
|
-
"fade": 0.22
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"type": "slope",
|
|
95
|
-
"min": 10,
|
|
96
|
-
"max": 90,
|
|
97
|
-
"fade": 5
|
|
98
|
-
}
|
|
99
|
-
]
|
|
100
|
-
},
|
|
101
|
-
"strength": 0.85
|
|
102
80
|
}
|
|
103
81
|
]
|
|
104
82
|
}
|
|
@@ -111,9 +89,21 @@
|
|
|
111
89
|
"params": {
|
|
112
90
|
"followTerrain": true,
|
|
113
91
|
"points": [
|
|
114
|
-
[
|
|
115
|
-
|
|
116
|
-
|
|
92
|
+
[
|
|
93
|
+
-240,
|
|
94
|
+
null,
|
|
95
|
+
-185
|
|
96
|
+
],
|
|
97
|
+
[
|
|
98
|
+
-150,
|
|
99
|
+
null,
|
|
100
|
+
-185
|
|
101
|
+
],
|
|
102
|
+
[
|
|
103
|
+
-125,
|
|
104
|
+
null,
|
|
105
|
+
-185
|
|
106
|
+
]
|
|
117
107
|
],
|
|
118
108
|
"width": 6,
|
|
119
109
|
"shoulder": 4
|
|
@@ -125,18 +115,38 @@
|
|
|
125
115
|
"id": "building-pad",
|
|
126
116
|
"type": "flatten",
|
|
127
117
|
"params": {
|
|
128
|
-
"at": [
|
|
118
|
+
"at": [
|
|
119
|
+
-160,
|
|
120
|
+
-180
|
|
121
|
+
],
|
|
129
122
|
"radius": 12,
|
|
130
123
|
"falloff": 0.75
|
|
131
124
|
}
|
|
132
125
|
},
|
|
126
|
+
{
|
|
127
|
+
"enabled": true,
|
|
128
|
+
"opacity": 1,
|
|
129
|
+
"id": "pad-surface",
|
|
130
|
+
"type": "paint",
|
|
131
|
+
"params": {
|
|
132
|
+
"at": [
|
|
133
|
+
-160,
|
|
134
|
+
-180
|
|
135
|
+
],
|
|
136
|
+
"radius": 12,
|
|
137
|
+
"material": "dirt"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
133
140
|
{
|
|
134
141
|
"enabled": true,
|
|
135
142
|
"opacity": 1,
|
|
136
143
|
"id": "lake-bed",
|
|
137
144
|
"type": "flatten",
|
|
138
145
|
"params": {
|
|
139
|
-
"at": [
|
|
146
|
+
"at": [
|
|
147
|
+
-70,
|
|
148
|
+
25
|
|
149
|
+
],
|
|
140
150
|
"radius": 105,
|
|
141
151
|
"height": 11.4,
|
|
142
152
|
"falloff": 0.1
|
|
@@ -156,11 +166,31 @@
|
|
|
156
166
|
"params": {
|
|
157
167
|
"followTerrain": true,
|
|
158
168
|
"points": [
|
|
159
|
-
[
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
169
|
+
[
|
|
170
|
+
-120,
|
|
171
|
+
null,
|
|
172
|
+
-220
|
|
173
|
+
],
|
|
174
|
+
[
|
|
175
|
+
-110,
|
|
176
|
+
null,
|
|
177
|
+
-175
|
|
178
|
+
],
|
|
179
|
+
[
|
|
180
|
+
-120,
|
|
181
|
+
null,
|
|
182
|
+
-130
|
|
183
|
+
],
|
|
184
|
+
[
|
|
185
|
+
-100,
|
|
186
|
+
null,
|
|
187
|
+
-95
|
|
188
|
+
],
|
|
189
|
+
[
|
|
190
|
+
-70,
|
|
191
|
+
null,
|
|
192
|
+
-60
|
|
193
|
+
]
|
|
164
194
|
],
|
|
165
195
|
"width": 7,
|
|
166
196
|
"depth": 1.8,
|
|
@@ -175,7 +205,10 @@
|
|
|
175
205
|
"type": "water",
|
|
176
206
|
"params": {
|
|
177
207
|
"kind": "lake",
|
|
178
|
-
"at": [
|
|
208
|
+
"at": [
|
|
209
|
+
-70,
|
|
210
|
+
25
|
|
211
|
+
],
|
|
179
212
|
"radius": 105,
|
|
180
213
|
"level": 13.3
|
|
181
214
|
}
|
|
@@ -191,7 +224,10 @@
|
|
|
191
224
|
"minDistance": 3.8,
|
|
192
225
|
"maxSlope": 32,
|
|
193
226
|
"avoidWater": true,
|
|
194
|
-
"scale": [
|
|
227
|
+
"scale": [
|
|
228
|
+
0.55,
|
|
229
|
+
1
|
|
230
|
+
]
|
|
195
231
|
},
|
|
196
232
|
"mask": {
|
|
197
233
|
"type": "noise",
|
|
@@ -210,7 +246,10 @@
|
|
|
210
246
|
"minDistance": 4.2,
|
|
211
247
|
"maxSlope": 32,
|
|
212
248
|
"avoidWater": true,
|
|
213
|
-
"scale": [
|
|
249
|
+
"scale": [
|
|
250
|
+
0.55,
|
|
251
|
+
1
|
|
252
|
+
]
|
|
214
253
|
},
|
|
215
254
|
"mask": {
|
|
216
255
|
"type": "noise",
|
|
@@ -229,7 +268,10 @@
|
|
|
229
268
|
"minDistance": 3,
|
|
230
269
|
"maxSlope": 32,
|
|
231
270
|
"avoidWater": true,
|
|
232
|
-
"scale": [
|
|
271
|
+
"scale": [
|
|
272
|
+
0.2,
|
|
273
|
+
0.45
|
|
274
|
+
]
|
|
233
275
|
},
|
|
234
276
|
"mask": {
|
|
235
277
|
"type": "noise",
|
|
@@ -251,7 +293,10 @@
|
|
|
251
293
|
"minSlope": 4,
|
|
252
294
|
"maxSlope": 60,
|
|
253
295
|
"avoidWater": true,
|
|
254
|
-
"scale": [
|
|
296
|
+
"scale": [
|
|
297
|
+
0.5,
|
|
298
|
+
2.2
|
|
299
|
+
]
|
|
255
300
|
},
|
|
256
301
|
"mask": {
|
|
257
302
|
"type": "noise",
|
|
@@ -272,7 +317,10 @@
|
|
|
272
317
|
"minDistance": 1.4,
|
|
273
318
|
"maxSlope": 28,
|
|
274
319
|
"avoidWater": true,
|
|
275
|
-
"scale": [
|
|
320
|
+
"scale": [
|
|
321
|
+
0.9,
|
|
322
|
+
1.6
|
|
323
|
+
]
|
|
276
324
|
},
|
|
277
325
|
"mask": {
|
|
278
326
|
"type": "noise",
|
|
@@ -293,7 +341,10 @@
|
|
|
293
341
|
"minDistance": 1.4,
|
|
294
342
|
"maxSlope": 28,
|
|
295
343
|
"avoidWater": true,
|
|
296
|
-
"scale": [
|
|
344
|
+
"scale": [
|
|
345
|
+
0.8,
|
|
346
|
+
1.5
|
|
347
|
+
]
|
|
297
348
|
},
|
|
298
349
|
"mask": {
|
|
299
350
|
"type": "noise",
|
|
@@ -314,7 +365,10 @@
|
|
|
314
365
|
"minDistance": 2.5,
|
|
315
366
|
"maxSlope": 50,
|
|
316
367
|
"avoidWater": true,
|
|
317
|
-
"scale": [
|
|
368
|
+
"scale": [
|
|
369
|
+
0.12,
|
|
370
|
+
0.3
|
|
371
|
+
]
|
|
318
372
|
},
|
|
319
373
|
"mask": {
|
|
320
374
|
"type": "noise",
|
|
@@ -335,7 +389,10 @@
|
|
|
335
389
|
"minDistance": 2.5,
|
|
336
390
|
"maxSlope": 50,
|
|
337
391
|
"avoidWater": true,
|
|
338
|
-
"scale": [
|
|
392
|
+
"scale": [
|
|
393
|
+
0.12,
|
|
394
|
+
0.3
|
|
395
|
+
]
|
|
339
396
|
},
|
|
340
397
|
"mask": {
|
|
341
398
|
"type": "noise",
|
|
@@ -346,5 +403,138 @@
|
|
|
346
403
|
}
|
|
347
404
|
}
|
|
348
405
|
]
|
|
406
|
+
},
|
|
407
|
+
"world": {
|
|
408
|
+
"name": "forest",
|
|
409
|
+
"ground": {
|
|
410
|
+
"base": "grass",
|
|
411
|
+
"layers": [
|
|
412
|
+
"dirt",
|
|
413
|
+
"moss",
|
|
414
|
+
"sand",
|
|
415
|
+
"rock",
|
|
416
|
+
"snow"
|
|
417
|
+
],
|
|
418
|
+
"roughness": 0.95
|
|
419
|
+
},
|
|
420
|
+
"farRing": {
|
|
421
|
+
"survey": "forest-horizon",
|
|
422
|
+
"backdrop": {
|
|
423
|
+
"id": "usgs-surroundings",
|
|
424
|
+
"landform": "temperateMountains",
|
|
425
|
+
"seed": 23,
|
|
426
|
+
"relief": 865
|
|
427
|
+
},
|
|
428
|
+
"seed": 1,
|
|
429
|
+
"layers": [
|
|
430
|
+
{
|
|
431
|
+
"enabled": true,
|
|
432
|
+
"opacity": 1,
|
|
433
|
+
"id": "crests",
|
|
434
|
+
"type": "noise",
|
|
435
|
+
"params": {
|
|
436
|
+
"mode": "ridged",
|
|
437
|
+
"amplitude": 170,
|
|
438
|
+
"scale": 1100,
|
|
439
|
+
"octaves": 3,
|
|
440
|
+
"warp": 300
|
|
441
|
+
},
|
|
442
|
+
"mask": {
|
|
443
|
+
"type": "height",
|
|
444
|
+
"min": 320,
|
|
445
|
+
"max": 1000000000,
|
|
446
|
+
"fade": 200
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"enabled": true,
|
|
451
|
+
"opacity": 1,
|
|
452
|
+
"id": "spurs",
|
|
453
|
+
"type": "noise",
|
|
454
|
+
"params": {
|
|
455
|
+
"mode": "fbm",
|
|
456
|
+
"amplitude": 45,
|
|
457
|
+
"scale": 320,
|
|
458
|
+
"octaves": 3,
|
|
459
|
+
"warp": 150
|
|
460
|
+
},
|
|
461
|
+
"mask": {
|
|
462
|
+
"type": "height",
|
|
463
|
+
"min": 200,
|
|
464
|
+
"max": 1000000000,
|
|
465
|
+
"fade": 80
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"enabled": true,
|
|
470
|
+
"opacity": 1,
|
|
471
|
+
"id": "gullies",
|
|
472
|
+
"type": "erode",
|
|
473
|
+
"params": {
|
|
474
|
+
"method": "hydraulic",
|
|
475
|
+
"droplets": 40000
|
|
476
|
+
},
|
|
477
|
+
"mask": {
|
|
478
|
+
"type": "height",
|
|
479
|
+
"min": 380,
|
|
480
|
+
"max": 1000000000,
|
|
481
|
+
"fade": 160
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
],
|
|
485
|
+
"massif": {
|
|
486
|
+
"tiles": [
|
|
487
|
+
"longs",
|
|
488
|
+
"teton",
|
|
489
|
+
"maroon"
|
|
490
|
+
],
|
|
491
|
+
"seed": 6,
|
|
492
|
+
"at": [
|
|
493
|
+
-2050,
|
|
494
|
+
-150
|
|
495
|
+
],
|
|
496
|
+
"face": 90,
|
|
497
|
+
"keepOut": 650,
|
|
498
|
+
"top": [
|
|
499
|
+
1100,
|
|
500
|
+
1160
|
|
501
|
+
]
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"art": [
|
|
505
|
+
"bark_brown_02",
|
|
506
|
+
"boulder_01",
|
|
507
|
+
"celandine_01",
|
|
508
|
+
"dandelion_01",
|
|
509
|
+
"dead_tree_trunk",
|
|
510
|
+
"dry_branches_medium_01",
|
|
511
|
+
"fern_02",
|
|
512
|
+
"forest_ground_04",
|
|
513
|
+
"grass_medium",
|
|
514
|
+
"leafy_grass",
|
|
515
|
+
"lichen_rock",
|
|
516
|
+
"moss_01",
|
|
517
|
+
"mossy_rock",
|
|
518
|
+
"nettle_plant",
|
|
519
|
+
"periwinkle_plant",
|
|
520
|
+
"river_small_rocks",
|
|
521
|
+
"rock_boulder_dry",
|
|
522
|
+
"rock_face",
|
|
523
|
+
"rocks",
|
|
524
|
+
"sand_01",
|
|
525
|
+
"shrub_02",
|
|
526
|
+
"shrub_04",
|
|
527
|
+
"snow_02",
|
|
528
|
+
"tree_small_02",
|
|
529
|
+
"tree_stump_01",
|
|
530
|
+
"weed_plant_02",
|
|
531
|
+
"needle-atlas.png",
|
|
532
|
+
"needle-surface.png",
|
|
533
|
+
"fir_tree_01/fir_tree_01_twig_arm_1k.jpg",
|
|
534
|
+
"fir_tree_01/fir_tree_01_twig_diff_1k.jpg",
|
|
535
|
+
"fir_tree_01/fir_tree_01_twig_nor_gl_1k.jpg",
|
|
536
|
+
"hdri/kloofendal_48d_partly_cloudy_2k.hdr",
|
|
537
|
+
"mannequin-swim.glb"
|
|
538
|
+
]
|
|
349
539
|
}
|
|
350
540
|
}
|
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
import type { Node } from "three/webgpu";
|
|
22
22
|
import { GROUND_MAPS, type IGroundMaps, type LayerKey } from "../world/terrainAssets.js";
|
|
23
23
|
import type { WORLD_NAMES } from "./worldNames.js";
|
|
24
|
+
import { WORLD } from "./worldNames.js";
|
|
24
25
|
|
|
25
26
|
export type WorldName = (typeof WORLD_NAMES)[number];
|
|
26
27
|
type RGB = readonly [number, number, number];
|
|
@@ -458,7 +459,7 @@ const forest: IBiome = {
|
|
|
458
459
|
};
|
|
459
460
|
|
|
460
461
|
export const BIOMES: Record<WorldName, IBiome> = {
|
|
461
|
-
forest,
|
|
462
|
+
[WORLD]: forest,
|
|
462
463
|
};
|
|
463
464
|
|
|
464
465
|
export interface IWorldBiome extends IBiome {
|