Skip to content

The native runtime for three.js: three.js, down to the metal. 45× smaller than Electron, on a Sony PS3, and path-traced at 60 fps on ray-tracing GPUs.

MIT licence (#45)

Evan (Yifeng) Wang288b6960caf5
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..e1c19f3
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 Meshy LLC
+
+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.
diff --git a/package-lock.json b/package-lock.json
index 9433834..750d44a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5,6 +5,7 @@
"packages": {
"": {
"name": "threert",
+ "license": "MIT",
"workspaces": [
"packages/*"
],
@@ -1347,15 +1348,18 @@
},
"packages/gameplay": {
"name": "@threert/gameplay",
+ "license": "MIT",
"dependencies": {
"@threert/scene": "*"
}
},
"packages/scene": {
- "name": "@threert/scene"
+ "name": "@threert/scene",
+ "license": "MIT"
},
"packages/voxel": {
"name": "@threert/voxel",
+ "license": "MIT",
"dependencies": {
"@threert/scene": "*"
}
diff --git a/package.json b/package.json
index 0f1dd9c..4ac0b66 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,7 @@
{
"name": "threert",
"private": true,
+ "license": "MIT",
"type": "module",
"workspaces": [
"packages/*"
diff --git a/packages/gameplay/package.json b/packages/gameplay/package.json
index 63310e9..2c5979e 100644
--- a/packages/gameplay/package.json
+++ b/packages/gameplay/package.json
@@ -1,6 +1,7 @@
{
"name": "@threert/gameplay",
"private": true,
+ "license": "MIT",
"type": "module",
"exports": { ".": "./src/index.ts" },
"dependencies": { "@threert/scene": "*" }
diff --git a/packages/scene/package.json b/packages/scene/package.json
index 01770e4..da711da 100644
--- a/packages/scene/package.json
+++ b/packages/scene/package.json
@@ -1,6 +1,7 @@
{
"name": "@threert/scene",
"private": true,
+ "license": "MIT",
"type": "module",
"exports": { ".": "./src/index.ts" }
}
diff --git a/packages/voxel/package.json b/packages/voxel/package.json
index 502e52d..5b37492 100644
--- a/packages/voxel/package.json
+++ b/packages/voxel/package.json
@@ -1,6 +1,7 @@
{
"name": "@threert/voxel",
"private": true,
+ "license": "MIT",
"type": "module",
"exports": { ".": "./src/index.ts" },
"dependencies": { "@threert/scene": "*" }
diff --git a/playground/host/Cargo.toml b/playground/host/Cargo.toml
index 8deffba..7a3d782 100644
--- a/playground/host/Cargo.toml
+++ b/playground/host/Cargo.toml
@@ -3,6 +3,7 @@ name = "threert-playground"
version = "0.1.0"
edition = "2024"
description = "ThreeRT Playground: native macOS editor client (PocketJS UI + the threert real-time renderer, one wgpu device)"
+license = "MIT"
publish = false
[dependencies]
diff --git a/renderer/Cargo.toml b/renderer/Cargo.toml
index 304a02a..823922b 100644
--- a/renderer/Cargo.toml
+++ b/renderer/Cargo.toml
@@ -3,6 +3,7 @@ name = "threert-render"
version = "0.1.0"
edition = "2021"
description = "Native renderer for ThreeRT games: embedded scene runtime, GPU path tracer + UE5-matched post chain"
+license = "MIT"
[dependencies]
voxel-core = { path = "voxel-core" }