- sky clamping may only be done in Blood for now.

This needs a better solution.
This commit is contained in:
Christoph Oelckers 2019-10-19 20:25:58 +02:00
parent 5fa879d5d1
commit 6f4ca480b5
6 changed files with 10 additions and 22 deletions

View file

@ -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;