Revert the move for V_CubeApply to the Gamma corrected space. Doesn't work quite right at the moment, and tired of this branch being held up.

This commit is contained in:
toaster 2021-06-04 17:56:31 +01:00
parent cac0e71c18
commit 5690f52d4a

View file

@ -333,7 +333,13 @@ static void LoadPalette(const char *lumpname)
if (!Cubeapply)
continue;
pLocalPalette[i].rgba = V_GammaEncode(V_CubeApply(&pGammaCorrectedPalette[i]));
pLocalPalette[i].rgba =
#if 0
V_GammaEncode(V_CubeApply(&pGammaCorrectedPalette[i])) // ideal, needs a rewrite to take advantage of it though
#else
V_CubeApply(&pMasterPalette[i]) // until then we live in imperfection
#endif
;
}
}