From 96b455649a8460984151bf2ce93522127e179288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Beaufort?= Date: Mon, 28 Oct 2024 21:58:08 +0100 Subject: [PATCH] Fix blue trail (#469) --- sample/particles/main.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sample/particles/main.ts b/sample/particles/main.ts index afe308ae..ee1f9d18 100644 --- a/sample/particles/main.ts +++ b/sample/particles/main.ts @@ -327,7 +327,7 @@ const simulationParams = { const simulationUBOBufferSize = 1 * 4 + // deltaTime 1 * 4 + // brightnessFactor - 3 * 4 + // padding + 2 * 4 + // padding 4 * 4 + // seed 0; const simulationUBOBuffer = device.createBuffer({ @@ -411,7 +411,6 @@ function frame() { simulationParams.simulate ? simulationParams.deltaTime : 0.0, simulationParams.brightnessFactor, 0.0, - 0.0, 0.0, // padding Math.random() * 100, Math.random() * 100, // seed.xy