Skip to content

Conversation

@mrxz
Copy link
Collaborator

@mrxz mrxz commented Oct 13, 2025

The SplatAccumulator keeps track of a toWorld matrix. However this was done by holding onto a reference to the matrix passed to generateSplats. When this matrix is updated outside the accumulator, it holds newer values. This in turn causes origin update checks to incorrectly fail in SparkRenderer, preventing the splats from being updated when they should.

See the following reported issue on the Spark Discord server: https://discord.com/channels/1374903240084426855/1379471336329576499/1427230168447193089

This PR changes it so that the values of the matrix are copied over instead.

@dmarcos
Copy link
Contributor

dmarcos commented Oct 14, 2025

Thanks!

@dmarcos dmarcos merged commit 296eaee into sparkjsdev:main Oct 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants