forked from davidgfnet/opengx
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lighting: remove pre-multiplication with material colors
All these multiplications are already done by the TEV in setup_render_scene(). The only exception to this is specular color, but multiplying it with the light color is wrong anyway (we produce a weaker light) and, most importantly, this light is already combined with the material's ambient color by GX (see the previous commit's explanation).
- Loading branch information
1 parent
cb795a0
commit 3f4dafb
Showing
1 changed file
with
4 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters