Skip to content

Fix GLSL uniform block name mismatch in AmbientLightEffect#133

Open
CodeReclaimers wants to merge 1 commit intodavideberly:masterfrom
CodeReclaimers:fix/ambientlight-uniform-name
Open

Fix GLSL uniform block name mismatch in AmbientLightEffect#133
CodeReclaimers wants to merge 1 commit intodavideberly:masterfrom
CodeReclaimers:fix/ambientlight-uniform-name

Conversation

@CodeReclaimers
Copy link
Contributor

The GLSL shader declares the uniform block as "Light" but the C++ code binds to the name "Lighting". The constant buffer never binds on the GL46 backend, so ambient light parameters are all zeros.

🤖 Generated with Claude Code

The GLSL shader declares the block as "Light" but C++ binds to "Lighting".
The constant buffer never binds on the GL46 backend, leaving ambient light
parameters at zero.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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