halflife
halflife copied to clipboard
Hall of Mirrors on skybox sides at certain angles in widescreen
Currently, if the player is playing on a widescreen resolution and has their screen angled correctly, they'll be able to see a Hall of Mirrors effect on one of the skybox sides. (default_fov is 110 in the image)
Within the engine render code, specifically in the function R_DrawSkyBox, there's a conditional check
if (DotProduct(vpn, normal) < -0.29289322)
continue;
Where -0.29289322 represents -1 + 0.70710678 == cos(DEG2RAD(90 / 2))
The proposed fix is to dynamically account for the FOV aspect instead of based on the hardcoded value of 90
It's still an issue affecting Half-Life and mods. Hoping for a fix