Commit 71ae1fc
authored
Fix direct lighting in
This changelist fixes a uniform name mismatch in `MslProgram::bindLighting`, which was causing the direct lighting term to be missing on MacOS, as reported in #2769.
In the MSL rendering path, uniforms are stored with a `GlobalContext` struct prefix, and the `hasUniform` and `bindUniform` methods correctly resolve these prefixed names through the global uniform name map.MslProgram::bindLighting (#2781)1 parent c5166f6 commit 71ae1fc
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
687 | 687 | | |
688 | 688 | | |
689 | 689 | | |
690 | | - | |
691 | | - | |
| 690 | + | |
692 | 691 | | |
693 | 692 | | |
694 | 693 | | |
| |||
0 commit comments