Skip to content

Commit

Permalink
Fix blue trail (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois authored Oct 28, 2024
1 parent 1e3c2d3 commit 96b4556
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sample/particles/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 96b4556

Please sign in to comment.