Commit 7abbbdc
authored
Fix edge case in mx_sheen_bsdf (#2280)
This changelist fixes an edge case in the GLSL function `mx_sheen_bsdf`, where setting `closureData.closureType` to `CLOSURE_TYPE_TRANSMISSION` caused the `dirAlbedo` variable to be referenced without any assigned value.1 parent a518876 commit 7abbbdc
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| 59 | + | |
57 | 60 | | |
58 | | - | |
59 | | - | |
60 | 61 | | |
0 commit comments