From f4236930447f4bc90db02c1e258c6c196b3c2a07 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Wed, 2 Dec 2026 16:51:52 +0900 Subject: [PATCH] Add WebGPU HDR Beach sample It seemed like it would be nice to show a slightly more pretty HDR sample than the particles so here's one. --- sample/webgpuHdrBeach/meta.ts | 10 ++++++++++ src/samples.ts | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 sample/webgpuHdrBeach/meta.ts diff --git a/sample/webgpuHdrBeach/meta.ts b/sample/webgpuHdrBeach/meta.ts new file mode 100644 index 00000000..43f68c56 --- /dev/null +++ b/sample/webgpuHdrBeach/meta.ts @@ -0,0 +1,10 @@ +export default { + name: 'WebGPU HDR Beach', + description: `A WebGPU HDR Beach to show HDR lighting.`, + filename: __DIRNAME__, + external: { + url: 'https://greggman.github.io/webgpu-hdr-beach/', + sourceURL: 'https://github.com/greggman/webgpu-hdr-beach', + }, + sources: [], +}; diff --git a/src/samples.ts b/src/samples.ts index 1ca306ba..be18bf8b 100644 --- a/src/samples.ts +++ b/src/samples.ts @@ -47,6 +47,7 @@ import videoUploading from '../sample/videoUploading/meta'; import visionTransformer from '../sample/visionTransformer/meta'; import volumeRenderingTexture3D from '../sample/volumeRenderingTexture3D/meta'; import webgpuAquarium from '../sample/webgpuAquarium/meta'; +import webgpuHdrBeach from '../sample/webgpuHdrBeach/meta'; import wireframe from '../sample/wireframe/meta'; import worker from '../sample/worker/meta'; import workloadSimulator from '../sample/workloadSimulator/meta'; @@ -179,6 +180,7 @@ export const pageCategories: PageCategory[] = [ particleLife, visionTransformer, webgpuAquarium, + webgpuHdrBeach, }, },