mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 18:21:06 +00:00
- sky clamping may only be done in Blood for now.
This needs a better solution.
This commit is contained in:
parent
5fa879d5d1
commit
6f4ca480b5
6 changed files with 10 additions and 22 deletions
|
@ -2048,6 +2048,7 @@ static void polymost_flatskyrender(vec2f_t const* const dpxy, int32_t const n, i
|
|||
int y = ((int32_t)(((x0-ghalfx)*o.y)+fglobalang)>>(11-dapskybits));
|
||||
float fx = x0;
|
||||
|
||||
if (playing_blood) method |= DAMETH_CLAMPED; // Hack to make Blood's skies show properly.
|
||||
do
|
||||
{
|
||||
globalpicnum = dapskyoff[y&((1<<dapskybits)-1)]+ti;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue