auto-git:
[change] tests/serialization/scene-document-json.test.ts
This commit is contained in:
@@ -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 = {
|
const document = {
|
||||||
...createEmptySceneDocument({ name: "Volume Round Trip Scene" }),
|
...createEmptySceneDocument({ name: "Volume Round Trip Scene" }),
|
||||||
brushes: {
|
brushes: {
|
||||||
[waterBrush.id]: waterBrush,
|
[waterBrush.id]: waterBrush,
|
||||||
[fogBrush.id]: fogBrush
|
[fogBrush.id]: fogBrush,
|
||||||
|
[lightBrush.id]: lightBrush
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user