auto-git:

[change] tests/serialization/scene-document-json.test.ts
This commit is contained in:
2026-04-22 14:05:00 +02:00
parent 04e39e3b7e
commit de66b3f766

View File

@@ -400,11 +400,24 @@ describe("scene document JSON", () => {
}
}
});
const lightBrush = createBoxBrush({
id: "brush-light-volume",
volume: {
mode: "light",
light: {
colorHex: "#ffe0b6",
intensity: 2,
padding: 0.4,
falloff: "linear"
}
}
});
const document = {
...createEmptySceneDocument({ name: "Volume Round Trip Scene" }),
brushes: {
[waterBrush.id]: waterBrush,
[fogBrush.id]: fogBrush
[fogBrush.id]: fogBrush,
[lightBrush.id]: lightBrush
}
};