mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- simplify visibility calculation from changes performed in d80a32d379
.
* Achieves the exact same result in a cleaner fashion.
This commit is contained in:
parent
c05eb6dbb6
commit
291475eeb5
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ static void polymost_updaterotmat(void)
|
|||
};
|
||||
multiplyMatrix4f(matrix, tiltmatrix);
|
||||
renderSetViewMatrix(matrix);
|
||||
renderSetVisibility(((float)(g_visibility) / (8.f / 15.f) / r_ambientlight) * fviewingrange * (4.f / (65536.f * 65536.f)));
|
||||
renderSetVisibility(((float)(g_visibility) / r_ambientlight) * fviewingrange * (7.5f / (65536.f * 65536.f)));
|
||||
}
|
||||
|
||||
static void polymost_flatskyrender(vec2f_t const* const dpxy, int32_t const n, int32_t method, const vec2_16_t& tilesiz);
|
||||
|
|
Loading…
Reference in a new issue