Garry's Mod

Garry's Mod

Performant Render
Visar 11–17 av 17 poster
< 1  >
Uppdatering: 18 dec, 2023 @ 5:17

Potential fixes and little improvements

  • Move calculations from RenderScene to PreRender hook. (Potential fix of flickering)
  • Do not perform calculations while being in the TARDIS; otherwise, it will cause rendering glitches.
  • Make debugging available only when `sv_cheats` is set to 1

Uppdatering: 9 dec, 2023 @ 2:10

Improvements

  • Proper method for detecting RenderBounds change. Resolved compatiblity issue with prop resizer addons.
  • Bump fov multiplier in calculations from 0.6 to 0.75

Uppdatering: 8 dec, 2023 @ 11:45

Ignore doors

Uppdatering: 8 dec, 2023 @ 7:53

Optimization

  • Add and use lookup tables instead of using Entity.GetTable, as this reduces CPU time.

Uppdatering: 8 dec, 2023 @ 6:34

Optimization & AABB -> RenderBounds

  • Change AABB to RenderBounds, which is more accurate (this should resolve visibility issue with striders, etc.)
  • Reduce CPU time, optimize distance calculations

Uppdatering: 6 dec, 2023 @ 8:50

Improvements

  • Reduce C calls
  • Compatibility with RT cameras
  • Ignore entities with "NoDraw" set to true on spawn.

Uppdatering: 5 dec, 2023 @ 5:50

Initial addon creation.