Skip to content

Commit 802ae78

Browse files
committed
chore: build tutorials
1 parent 6512b10 commit 802ae78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/front/src/core/PostproductionRenderer/example.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ world.scene.three.background = null;
7676
*/
7777

7878
const workerUrl =
79-
"https://thatopen.github.io/engine_fragment/resources/worker.mjs";
79+
"/node_modules/@thatopen/fragments/dist/Worker/worker.mjs";
8080
const fragments = components.get(OBC.FragmentsManager);
8181
fragments.init(workerUrl);
8282

@@ -117,7 +117,7 @@ fragments.core.models.materials.list.onItemSet.add(({ value: material }) => {
117117
:::
118118
*/
119119

120-
const fragPaths = ["https://thatopen.github.io/engine_components/resources/frags/school_arq.frag"];
120+
const fragPaths = ["/resources/frags/school_arq.frag"];
121121
await Promise.all(
122122
fragPaths.map(async (path) => {
123123
const modelId = path.split("/").pop()?.split(".").shift();

resources/frags/school_arq.frag

-79.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)