From: Paul Cercueil Date: Tue, 31 Oct 2023 17:11:39 +0000 (+0100) Subject: unai: Use 8.8 RGB triplet format for gouraud shading X-Git-Tag: r24~64 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3bce60ef65914650716c6caea21480071e3405c;hp=b3bce60ef65914650716c6caea21480071e3405c;p=pcsx_rearmed.git unai: Use 8.8 RGB triplet format for gouraud shading 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 ---