1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Identified poor visibility optimization in some areas

Discussion in 'Bug Reports' started by Inco, Feb 13, 2020.

  1. Inco

    Inco Level Designer / Programmer Staff Member Developer

    Jan 3, 2020
    Likes Received:
    Affected Gamemode/Excursion
    the ship itself, most noticeably in the Atrium and the Gmod Cruise Lanes areas but other areas are probably affected too

    Summary of Issue Encountered

    these areas are rendered even if you can't directly see them, which I suspect is a big reason for the Atrium area being particularly laggy

    I also suspect this has to do with the deck areas outside not being sealed with area portals (see screenshot with physgun)

    Expected Result
    the area you are not in should not be rendered (or at the very least greatly reduced)

    Actual Result
    almost the entire area you are not in gets rendered, resulting in unnecessary render times

    Steps to Reproduce
    set the following console variables
    • mat_wireframe 1
    • mat_leafvis 1 (for reference)
    • mat_DrawPortals 1 (for reference)
    and look for these areas being rendered behind walls

    Screenshots/Error(s) in Console (if applicable) of the Issue
    [​IMG] [​IMG] [​IMG]
  2. WinterPhoenix

    WinterPhoenix Founder/Lead Developer Staff Member Founder/Lead Developer

    Dec 28, 2015
    Likes Received:
    Changing to Identified as we've talked about it some. It remains a difficult problem to solve, however clever use of Areaportals or Occluders might help