Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Frustum culling and fog.

Discussion in 'General Graphics' started by koirat, Oct 19, 2021.

  1. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,098
    When having a scene with fog do you manipulate camera far clip plane to be adequate for current fog distance.
    This might make Frustum Culling more efficient.
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,401
    You certainly can do that. Certainly games from the early few generations of consoles made heavy use of that (see: Turok, Medal of Honor, God of War, Sonic R, etc). But depending on your current skybox and the geometry in the scene the fully fogged geometry may still be visible. At least in silhouette. You can make heavy use of LODs to keep the silhouettes, or make your skybox mostly a solid color.
     
    warthos3399 and koirat like this.