Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/optional-features/exporting/formats/export-glb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading