Identified poor visibility optimization in some areas


Level Designer / Programmer
Staff member
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


Staff member
Founder/Lead Developer
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