diff --git a/lib/optional-features/exporting/formats/export-glb.ts b/lib/optional-features/exporting/formats/export-glb.ts index 3f80a239d..11351306b 100644 --- a/lib/optional-features/exporting/formats/export-glb.ts +++ b/lib/optional-features/exporting/formats/export-glb.ts @@ -14,10 +14,10 @@ export const exportGlb = async ({ const { convertCircuitJsonToGltf } = await importer("circuit-json-to-gltf") console.log("convertCircuitJsonToGltf", convertCircuitJsonToGltf) - // Use lower texture resolution for better performance and compatibility + const glbArrayBuffer = (await convertCircuitJsonToGltf(circuitJson, { format: "glb", - boardTextureResolution: 512, + boardTextureResolution: 1024, })) as ArrayBuffer // Ensure we have a valid ArrayBuffer before creating the blob