Skip to content

Fix splat sizing when changing FOV at runtime#123

Open
mantasp wants to merge 1 commit intohuggingface:mainfrom
mantasp:main
Open

Fix splat sizing when changing FOV at runtime#123
mantasp wants to merge 1 commit intohuggingface:mainfrom
mantasp:main

Conversation

@mantasp
Copy link
Copy Markdown

@mantasp mantasp commented Feb 19, 2026

The focal uniform in the vertex shader was only set once during initialization, but the projection matrix was updated every frame. When camera.data.fx/fy changed at runtime, splat positions moved correctly but their sizes didn't scale — causing visible gaps between splats.

Updated both RenderProgram and VideoRenderProgram to upload the focal uniform every frame alongside projection and view.

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.

1 participant