From 8d143c23cca383c17b1fbc1a5a6d4b9c85f985cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Beaufort?= Date: Tue, 23 Jul 2024 21:06:19 +0200 Subject: [PATCH] Add HDR settings to Particles sample (#432) --- package-lock.json | 8 ++++---- package.json | 2 +- sample/particles/index.html | 2 +- sample/particles/main.ts | 37 +++++++++++++++++++++++++++------- sample/particles/meta.ts | 4 ++-- sample/particles/particle.wgsl | 4 ++++ src/samples.ts | 2 +- 7 files changed, 43 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 40624611..f57911f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "@types/showdown": "^2.0.6", "@types/stats.js": "^0.17.3", "@typescript-eslint/eslint-plugin": "^7.13.0", - "@webgpu/types": "^0.1.42", + "@webgpu/types": "^0.1.44", "chokidar": "^3.6.0", "eslint": "^8.57.0", "eslint-config-prettier": "^8.10.0", @@ -1059,9 +1059,9 @@ "dev": true }, "node_modules/@webgpu/types": { - "version": "0.1.42", - "resolved": "https://registry.npmjs.org/@webgpu/types/-/types-0.1.42.tgz", - "integrity": "sha512-uvJtt4OD1Vjdebrrz3kNLgpOicYbikwnM8WPG6YD2lkCOHDtPdEtCINJFIFtbOCtPfA8SreR/vKyUNbAt92IwQ==", + "version": "0.1.44", + "resolved": "https://registry.npmjs.org/@webgpu/types/-/types-0.1.44.tgz", + "integrity": "sha512-JDpYJN5E/asw84LTYhKyvPpxGnD+bAKPtpW9Ilurf7cZpxaTbxkQcGwOd7jgB9BPBrTYQ+32ufo4HiuomTjHNQ==", "dev": true }, "node_modules/accepts": { diff --git a/package.json b/package.json index 1571d516..bb1b77b3 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@types/showdown": "^2.0.6", "@types/stats.js": "^0.17.3", "@typescript-eslint/eslint-plugin": "^7.13.0", - "@webgpu/types": "^0.1.42", + "@webgpu/types": "^0.1.44", "chokidar": "^3.6.0", "eslint": "^8.57.0", "eslint-config-prettier": "^8.10.0", diff --git a/sample/particles/index.html b/sample/particles/index.html index f91563fd..3c983409 100644 --- a/sample/particles/index.html +++ b/sample/particles/index.html @@ -3,7 +3,7 @@ - webgpu-samples: particles + webgpu-samples: particles (HDR)