We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be7577b commit 289cb5bCopy full SHA for 289cb5b
1 file changed
apps/typegpu-docs/src/examples/rendering/suika-sdf/sdfGen.ts
@@ -109,7 +109,7 @@ export async function createAtlases(): Promise<{
109
sdfAtlas: ImageBitmap[];
110
contours: Float32Array[];
111
}> {
112
- const fruits = await loadImage('./assets/suika-sdf/fruitsTgpu.png');
+ const fruits = await loadImage('/TypeGPU/assets/suika-sdf/fruitsTgpu.png');
113
114
const tmpCanvas = new OffscreenCanvas(SPRITE_SIZE, SPRITE_SIZE);
115
const tmpCtx = tmpCanvas.getContext('2d', { willReadFrequently: true });
0 commit comments