This repository was archived by the owner on Apr 28, 2021. It is now read-only.
Commit c3e7a31
Fix Light rendering (#188)
Change the Light rendering such that the light position is given in eye space as is the common practice.
Previous implementation had light position given in model space which makes it extra hard to render a few models in the same world
with some fixed lighting.1 parent dbdcb1c commit c3e7a31
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
0 commit comments