Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Give the standard and fine bake presets 3 bounces

Nguyen Xuan An3d36c0bcf735
diff --git a/bench/size/budgets.json b/bench/size/budgets.json
index 5ce5636b..563dfd99 100644
--- a/bench/size/budgets.json
+++ b/bench/size/budgets.json
@@ -1,5 +1,5 @@
{
- "archiveBytes": 738000,
+ "archiveBytes": 740000,
"goals": {
"lit-box": 50000,
"gltf-box": 80000,
diff --git a/src/agent-scene-capabilities.js b/src/agent-scene-capabilities.js
index 6c7700cb..b3b0a1a3 100644
--- a/src/agent-scene-capabilities.js
+++ b/src/agent-scene-capabilities.js
@@ -91,8 +91,8 @@ export const MAXIMUM_VIDEO_SECONDS = 60;
/** Recipe bake presets and ranges. A bake inline on the page fails the edit after 20 s, before the 30 s page deadline; on a worker it has 90 s. */
export const BAKE_PRESETS = Object.freeze({
draft: Object.freeze({ samples: 32, bounces: 1, texelsPerUnit: 3 }),
- standard: Object.freeze({ samples: 128, bounces: 2, texelsPerUnit: 6 }),
- fine: Object.freeze({ samples: 192, bounces: 2, texelsPerUnit: 7 }),
+ standard: Object.freeze({ samples: 128, bounces: 3, texelsPerUnit: 6 }),
+ fine: Object.freeze({ samples: 192, bounces: 3, texelsPerUnit: 7 }),
});
export const BAKE_RANGES = Object.freeze({ samples: [1, 256], bounces: [1, 3], texelsPerUnit: [1, 12] });
export const BAKE_MAXIMUM_SECONDS = 20;