Nev3r's vertical sky distortion
This commit is contained in:
parent
6b94f286e2
commit
f465de8f8c
|
@ -709,6 +709,7 @@ void R_DrawPlanes(void)
|
||||||
if (dc_yl <= dc_yh)
|
if (dc_yl <= dc_yh)
|
||||||
{
|
{
|
||||||
angle = (pl->viewangle + xtoviewangle[x])>>ANGLETOSKYSHIFT;
|
angle = (pl->viewangle + xtoviewangle[x])>>ANGLETOSKYSHIFT;
|
||||||
|
dc_iscale = FixedMul(skyscale, FINECOSINE(xtoviewangle[x]>>ANGLETOFINESHIFT));
|
||||||
dc_x = x;
|
dc_x = x;
|
||||||
dc_source =
|
dc_source =
|
||||||
R_GetColumn(skytexture,
|
R_GetColumn(skytexture,
|
||||||
|
|
Loading…
Reference in a new issue