- Rewrote wide sky texture scaling again. This time, it should work for any
size textures at any scale. I also tried doing sky scrolling on the sky cylinder, but that didn't look so good, so I left it in screen space. SVN r1932 (trunk)
This commit is contained in:
parent
1a6d7b6eca
commit
f40462dfb4
5 changed files with 52 additions and 28 deletions
|
|
@ -834,6 +834,6 @@ void R_UpdateAnimations (DWORD mstime)
|
|||
|
||||
// Scroll the sky
|
||||
double ms = (double)mstime * FRACUNIT;
|
||||
sky1pos = fixed_t(fmod (ms * level.skyspeed1, double(TexMan[sky1texture]->GetScaledWidth() << FRACBITS)));
|
||||
sky2pos = fixed_t(fmod (ms * level.skyspeed2, double(TexMan[sky2texture]->GetScaledWidth() << FRACBITS)));
|
||||
sky1pos = ms * level.skyspeed1;
|
||||
sky2pos = ms * level.skyspeed2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue