Skip to content

Commit

Permalink
Merge pull request #617 from pzychotic/fix-508
Browse files Browse the repository at this point in the history
Remove scaling of terrain fog ranges based on zoom
  • Loading branch information
Lgt2x authored Oct 6, 2024
2 parents 10c10fb + e30af1f commit 48c8775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Descent3/terrainrender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ void RenderTerrain(uint8_t from_mine, int left, int top, int right, int bot) {
#else
const float kTerrainRenderDistance = 1200.0f;
#endif
VisibleTerrainZ = kTerrainRenderDistance * Matrix_scale.z;
VisibleTerrainZ = kTerrainRenderDistance;
Far_fog_border = VisibleTerrainZ;

// Set up our z wall
Expand Down

0 comments on commit 48c8775

Please sign in to comment.