Skip to content

fix: initialize VolumetricFog matrix uniforms with camera matrices#1255

Merged
braedonsaunders merged 1 commit into
mainfrom
claude/fix-gpu-writebuffer-7mMQ7
Feb 3, 2026
Merged

fix: initialize VolumetricFog matrix uniforms with camera matrices#1255
braedonsaunders merged 1 commit into
mainfrom
claude/fix-gpu-writebuffer-7mMQ7

Conversation

@braedonsaunders

Copy link
Copy Markdown
Owner

WebGPU writeBuffer fails with "Overload resolution failed" when matrix uniforms are created with empty Matrix4() and rendering occurs before updateCamera() is called.

Initialize uInverseProjection and uInverseView with actual camera matrix clones to ensure valid data from the start.

https://claude.ai/code/session_018JYGyXJMej42HoPWFG96TW

WebGPU writeBuffer fails with "Overload resolution failed" when
matrix uniforms are created with empty Matrix4() and rendering
occurs before updateCamera() is called.

Initialize uInverseProjection and uInverseView with actual camera
matrix clones to ensure valid data from the start.

https://claude.ai/code/session_018JYGyXJMej42HoPWFG96TW
@braedonsaunders braedonsaunders merged commit 0aed160 into main Feb 3, 2026
4 checks passed
@braedonsaunders braedonsaunders deleted the claude/fix-gpu-writebuffer-7mMQ7 branch February 3, 2026 02:10
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