2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 22:27:43 +00:00

Lots of initial CThermalColdFilter implementation

This commit is contained in:
Jack Andersen
2016-07-21 16:32:23 -10:00
parent 2ff1a2ee0b
commit a6477c635d
22 changed files with 607 additions and 136 deletions

View File

@@ -7,7 +7,7 @@ namespace urde
{
static logvisor::Module Log("urde::CTextureBoo");
/* GX uses this upsampling technique to prevent banding on downsampled texture formats */
/* GX uses this upsampling technique to extract full 8-bit range */
static inline uint8_t Convert3To8(uint8_t v)
{
/* Swizzle bits: 00000123 -> 12312312 */