This is the lazy way.
Correct way would imply getting the camera position, to make the skybox virtually unreachable.
Also fixing the hardcoding in that file, and allowing pngs.
Differential D1401
Fix Skybox Stan on Mar 18 2018, 8:11 PM. Authored by
Details
This is the lazy way. Correct way would imply getting the camera position, to make the skybox virtually unreachable. Agree it's better.
Diff Detail
Event TimelineComment Actions Successful build - Chance fights ever on the side of the prudent. Link to build: https://jenkins.wildfiregames.com/job/differential/272/display/redirect Comment Actions Currently vertical squares at this pictures aren't really squares: I think, because the expression should be true: D * 2 == H - FH, as it's the box. Comment Actions Successful build - Chance fights ever on the side of the prudent. Link to build: https://jenkins.wildfiregames.com/job/differential/275/display/redirect Comment Actions Numbers that work more often than not are an improvement. Comment Actions The goal was to fix the fact that the mountain goes through the skybox. And the stretching. Comment Actions I think, the sky shouldn't be a box, it should be divided for clouds and sky. And clouds should present in the map coordinate system. But the sky is just a sphere with 1.0f radius, that's rendered without depth. |