Commit 86fd19d
committed
Set the model vertex colors to white
When running the given examples I had an all black screen.
I realized the shader was still multiplying the texture and vertex
colors.
An alternative solution would be to modify the fragment shader,
but felt it was better to provide proper Vertex attributes.1 parent 903687e commit 86fd19d
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
210 | 212 | | |
211 | 213 | | |
212 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1002 | 1002 | | |
1003 | 1003 | | |
1004 | 1004 | | |
| 1005 | + | |
| 1006 | + | |
1005 | 1007 | | |
1006 | 1008 | | |
1007 | 1009 | | |
| |||
0 commit comments