diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2022-03-23 12:00:33 +0100 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-03-27 09:19:43 -0700 |
commit | bc5e5afc7be272d04f8b1767895dfec6d3dbc455 (patch) | |
tree | e3af1d3751bd4df1fe28ef8b182b016e217c594b /LICENSE | |
parent | 23476dac649799c76d258fd19732651a2575c8e9 (diff) | |
download | serenity-bc5e5afc7be272d04f8b1767895dfec6d3dbc455.zip |
LibSoftGPU+LibGfx: Transform and normalize normals before lighting
We were transforming the vertices' normals twice (bug 1) and
normalizing them after lighting (bug 2). In the lighting code, we were
then diverting from the spec to deal with the normal situation, which
is now no longer needed.
This fixes the lighting of Tux in Tux Racer.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions