| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
Note: there is a bug where the light position/direction are rotated backwards to the
model even though its using the model's rotation matrix... no idea why/how.
|
| |
|
| |
|
|
|
|
|
|
| |
Mostly a case of changing far too many magic numbers, something else to
fix I guess. I probably missed something. Also there's some hackery when
loading 3D models, which are still assumed to be in metres.
|
| |
|
|
|
|
|
| |
Was mostly through lack of understanding and coincidences. Position is now the only vertex data,
direction is moved to a uniform. Instancing will address this by making everything instance data.
|
|
|