3D engine that AI agents drive
Restore the texture-set size budget
Nguyen Xuan Ancfe4d00aa87d
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex a6831b1b..5587f025 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -34,7 +34,7 @@ Run `npm run smoke` or the `smoke:*` script for the area that you changed, and lA change to skinning, glTF loading, poses or IK also needs `npm run smoke:character`, which takes a real character through the MCP server. Run `npm run prepare:release` first.Screenshots and other output go to `artifacts/`, which Git ignores.-Every pull request runs `npm test`, `prepare:release`, `smoke:package` and the protocol part of `smoke:mcp-package` in the `Test` workflow. The checks that need a GPU or look at pixels, such as `smoke:mcp` and `smoke:character`, do not run there, so run them yourself.+Every pull request runs `npm run size`, `npm test`, `prepare:release`, `smoke:package` and the protocol part of `smoke:mcp-package` in the `Test` workflow. `bench/size/README.md` says what to do when a size budget fails. The checks that need a GPU or look at pixels, such as `smoke:mcp` and `smoke:character`, do not run there, so run them yourself.Do not weaken a test to make it pass. If a test is flaky, find the cause and fix the test or the code.diff --git a/bench/size/budgets.json b/bench/size/budgets.jsonindex ff10a18f..564e41e1 100644--- a/bench/size/budgets.json+++ b/bench/size/budgets.json@@ -28,7 +28,7 @@"entry:terrain": 3100,"entry:grass": 4400,"entry:clutter": 5300,- "entry:texture-set": 100,+ "entry:texture-set": 900,"entry:agent-scene": 164700,"entry:agent-asset": 172300,"entry:hdri": 3300,