@threenative/procedural-environment 0.1.8 → 0.1.9
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 +62 -1
- package/dist/asset-library-client.js +12956 -0
- package/dist/asset-library.d.ts +36 -0
- package/dist/asset-library.js +13039 -0
- package/dist/index-CYazo00w.d.ts +335 -0
- package/dist/index.d.ts +1 -316
- package/dist/stylized.d.ts +13 -3
- package/dist/stylized.js +4813 -334
- package/package.json +5 -3
- package/scans/credits.json +44 -0
- package/scans/toybox_backdrop-frost.webp +0 -0
- package/scans/toybox_backdrop-garden.webp +0 -0
- package/scans/toybox_backdrop-sand.webp +0 -0
- package/scans/toybox_flagstone-detail.webp +0 -0
- package/scans/toybox_flagstone-normal.webp +0 -0
- package/scans/toybox_metal-detail.webp +0 -0
- package/scans/toybox_metal-normal.webp +0 -0
- package/scans/toybox_planks-detail.webp +0 -0
- package/scans/toybox_planks-normal.webp +0 -0
- package/scans/toybox_rock-detail.webp +0 -0
- package/scans/toybox_rock-normal.webp +0 -0
- package/scans/toybox_slab-detail.webp +0 -0
- package/scans/toybox_slab-normal.webp +0 -0
- package/scans/toybox_soil-detail.webp +0 -0
- package/scans/toybox_soil-normal.webp +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@threenative/procedural-environment",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Optional, bake-first procedural nature GLBs for ThreeNative: trees and cover (Arbor), forest floor (forest-kit) and rocks, cliffs and mountains (Outcrop), found by biome.",
|
|
6
6
|
"homepage": "https://github.com/ThreeNativeHQ/threenative#readme",
|
|
@@ -30,6 +30,10 @@
|
|
|
30
30
|
"types": "./dist/stylized.d.ts",
|
|
31
31
|
"import": "./dist/stylized.js"
|
|
32
32
|
},
|
|
33
|
+
"./asset-library": {
|
|
34
|
+
"types": "./dist/asset-library.d.ts",
|
|
35
|
+
"import": "./dist/asset-library.js"
|
|
36
|
+
},
|
|
33
37
|
"./package.json": "./package.json"
|
|
34
38
|
},
|
|
35
39
|
"publishConfig": {
|
|
@@ -42,11 +46,9 @@
|
|
|
42
46
|
"three": "0.187.0"
|
|
43
47
|
},
|
|
44
48
|
"devDependencies": {
|
|
45
|
-
"@tailwindcss/vite": "4.3.3",
|
|
46
49
|
"@types/node": "20.19.43",
|
|
47
50
|
"@types/three": "0.187.0",
|
|
48
51
|
"publint": "0.3.22",
|
|
49
|
-
"tailwindcss": "4.3.3",
|
|
50
52
|
"tsup": "8.5.1",
|
|
51
53
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
52
54
|
"vite": "8.2.0"
|
package/scans/credits.json
CHANGED
|
@@ -95,5 +95,49 @@
|
|
|
95
95
|
"licenseUrl": "https://docs.ambientcg.com/license/"
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
+
},
|
|
99
|
+
"toybox": {
|
|
100
|
+
"preprocessing": "scans/toybox.mjs <dir>: 512 px tileable detail (luminance scaled to a linear mean of 0.5) and a normal map derived from it, WebP q70/q72; backdrops: a 1024 px plate and its mirror, blurred into a 2048x1024 sky panorama, WebP q74",
|
|
101
|
+
"generated": "2026-11-23",
|
|
102
|
+
"textures": {
|
|
103
|
+
"rock": {
|
|
104
|
+
"from": "generated",
|
|
105
|
+
"license": "Original (meta/muse-image, OpenRouter, text prompt with a gameplay-reference crop for look only)",
|
|
106
|
+
"note": "a jointless stone surface; the rock modules model the slabs and joints in geometry"
|
|
107
|
+
},
|
|
108
|
+
"soil": {
|
|
109
|
+
"from": "forest_ground_04",
|
|
110
|
+
"url": "https://polyhaven.com/a/forest_ground_04",
|
|
111
|
+
"license": "CC0 1.0 Universal",
|
|
112
|
+
"restyle": "meta/muse-image (OpenRouter), to clean garden soil"
|
|
113
|
+
},
|
|
114
|
+
"planks": {
|
|
115
|
+
"from": "wood_planks",
|
|
116
|
+
"url": "https://polyhaven.com/a/wood_planks",
|
|
117
|
+
"license": "CC0 1.0 Universal",
|
|
118
|
+
"restyle": "meta/muse-image (OpenRouter), to toy wooden planks"
|
|
119
|
+
},
|
|
120
|
+
"metal": {
|
|
121
|
+
"from": "blue_metal_plate",
|
|
122
|
+
"url": "https://polyhaven.com/a/blue_metal_plate",
|
|
123
|
+
"license": "CC0 1.0 Universal",
|
|
124
|
+
"restyle": "meta/muse-image (OpenRouter), to clean riveted gunmetal"
|
|
125
|
+
},
|
|
126
|
+
"slab": {
|
|
127
|
+
"from": "generated",
|
|
128
|
+
"license": "Original (meta/muse-image, OpenRouter, text prompt with a gameplay-reference crop for look only)",
|
|
129
|
+
"note": "a weathered sandstone block face, softened (blur 1.6) for the kit's grain"
|
|
130
|
+
},
|
|
131
|
+
"flagstone": {
|
|
132
|
+
"from": "generated",
|
|
133
|
+
"license": "Original (meta/muse-image, OpenRouter, text prompt with a gameplay-reference crop for look only)",
|
|
134
|
+
"note": "a worn, cracked temple floor slab, softened (blur 1)"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"backdrops": {
|
|
138
|
+
"garden": "meta/muse-image, original prompt, with a gameplay-reference crop for look only",
|
|
139
|
+
"frost": "meta/muse-image from the garden plate",
|
|
140
|
+
"sand": "meta/muse-image from the garden plate"
|
|
141
|
+
}
|
|
98
142
|
}
|
|
99
143
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|