notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
b3bce60
)
unai: Use 8.8 RGB triplet format for gouraud shading
author
Paul Cercueil
<paul@crapouillou.net>
Tue, 31 Oct 2023 17:11:39 +0000
(18:11 +0100)
committer
notaz
<notasas@gmail.com>
Thu, 2 Nov 2023 16:08:35 +0000
(18:08 +0200)
Use a new 'gcol_t' type which fits in 64 bits, and encode each color
component into a 8.8 fixed-point format.
This boosts the precision of the gouraud shading algorithm, at almost
zero cost.
Fixes #320.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
No differences found