- Added additive blending for floors and ceilings.
SVN r3813 (trunk)
This commit is contained in:
parent
cb296a6660
commit
e2a018227f
4 changed files with 185 additions and 13 deletions
|
|
@ -1185,7 +1185,7 @@ void R_Subsector (subsector_t *sub)
|
|||
frontsector->GetTexture(sector_t::floor),
|
||||
floorlightlevel + r_actualextralight, // killough 3/16/98
|
||||
frontsector->GetAlpha(sector_t::floor),
|
||||
!!(frontsector->GetFlags(sector_t::floor) & PLANEF_ADDITIVE),
|
||||
!!(fakeFloor->flags && FF_ADDITIVETRANS),
|
||||
frontsector->GetXOffset(position), // killough 3/7/98
|
||||
frontsector->GetYOffset(position), // killough 3/7/98
|
||||
frontsector->GetXScale(position),
|
||||
|
|
@ -1250,7 +1250,7 @@ void R_Subsector (subsector_t *sub)
|
|||
frontsector->GetTexture(sector_t::ceiling),
|
||||
ceilinglightlevel + r_actualextralight, // killough 4/11/98
|
||||
frontsector->GetAlpha(sector_t::ceiling),
|
||||
!!(frontsector->GetFlags(sector_t::ceiling) & PLANEF_ADDITIVE),
|
||||
!!(fakeFloor->flags && FF_ADDITIVETRANS),
|
||||
frontsector->GetXOffset(position), // killough 3/7/98
|
||||
frontsector->GetYOffset(position), // killough 3/7/98
|
||||
frontsector->GetXScale(position),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue