mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
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:
parent
cac0e71c18
commit
5690f52d4a
1 changed files with 7 additions and 1 deletions
|
@ -333,7 +333,13 @@ static void LoadPalette(const char *lumpname)
|
||||||
if (!Cubeapply)
|
if (!Cubeapply)
|
||||||
continue;
|
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
|
||||||
|
;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue