mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 10:02:01 +00:00
More precise translucency amount picking.
This commit is contained in:
parent
cf59809852
commit
8b63908820
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ void R_GenerateBlendTables(void)
|
|||
for (i = 0; i <= 9; i++)
|
||||
{
|
||||
const size_t offs = (0x10000 * i);
|
||||
const UINT8 alpha = TRANSTAB_AMTMUL10 * (10-i);
|
||||
const UINT8 alpha = (TRANSTAB_AMTMUL10 * ((float)(10-i)));
|
||||
|
||||
R_GenerateTranslucencyTable(blendtables[blendtab_add] + offs, AST_ADD, alpha);
|
||||
R_GenerateTranslucencyTable(blendtables[blendtab_subtract] + offs, AST_SUBTRACT, alpha);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue