Garry's Mod

Garry's Mod

1,122 ratings
Performant Render
3
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Scenic, Realism
File Size
Posted
Updated
21.449 KB
5 Dec, 2023 @ 5:50am
25 Jan @ 7:21am
17 Change Notes ( view )

Subscribe to download
Performant Render

Description
Performant Render
Optimizes the render of the entities by disabling their render whenever they aren't seen but in the FOV.



Isn't this in the game by default?
No. Entities still render when you stand behind a prop that is in front of them. You can check this yourself.

How much FPS can I save?
Well, it depends on the number of entities on a server.
Mostly in a range from 0 to 50.



Features
  • Should be compatible with all addons.
  • Optimized CPU calculations.

Possible Issues
  • Infrequent render glitches.

Console Variables
  • r_performant_enable "1 or 0" - Enables/disables the addon.
  • r_performant_cutbeyondfog "1 or 0" - Should we disable ther render of the entities that are beyond fog?
  • r_performant_debug "0 or 1" - Enables/disables debug.




Credits
  • Me: the addon.
If you wish to support me, you can send me a tip on Boosty[boosty.to]


Also my other addons
Serves to conveniently take screenshots at a higher resolution than the screen/game resolution.

Effectively detects and prevents attempts to crash the server using physics objects.





tags: cpu, gpu, performance, fps, boost, optimization, performant, render, simple, improved, оптимизация, буст, фпс, производительность, рендер, отрисовка, улучшенный
Popular Discussions View All (6)
49
25 Jan @ 6:17am
PINNED: Issues
noaccess
9
19 Apr @ 9:23pm
PINNED: (obsolete) Invisible objects? Do this.
noaccess
2
15 Jan, 2024 @ 7:08pm
Concept for maps
andres xd
258 Comments
Dih collector 3 Jul @ 2:06am 
make it so stuff only dissapears if its not in your field of view instead of in a distance fucker
Dih collector 3 Jul @ 1:48am 
ragdolls dissapear after getting shot
♬♫~Joe Blaze~♫♬ 3 Jul @ 1:39am 
Characters that die vanish randomly before falling to the floor, I've also seen them literally vanish off the side of the screen while still being in view.
Snλke 30 Jun @ 11:39am 
ok thx
noaccess  [author] 30 Jun @ 6:39am 
If the server has this installed, yes
Snλke 28 Jun @ 2:14pm 
work*
Snλke 28 Jun @ 2:14pm 
does this working in multiplayer
noaccess  [author] 17 Jun @ 12:09am 
This should never happen.
NODRVZ2005 16 Jun @ 8:19am 
Executable: E:\SteamLibrary\steamapps\common\GarrysMod\bin\win64\gmod.exe

-Lua Stack Traces-
==================
Client
0. GetPos - [C]:-1
1. CalculateRenderablesVisibility - lua/autorun/sh_gmod_performant_render.lua:511
2. v - lua/autorun/sh_gmod_performant_render.lua:634
3. (null) - lua/includes/modules/hook.lua:102

Server
*Not in Lua call OR Lua has panicked*

MenuSystem
*Not in Lua call OR Lua has panicked*
WINDYCASTER 20 May @ 7:13am 
This seems to sorta break camera screens, such as the ones used in the Half-Life 2 campaign (eg. the Breencast). Will there be a fix for that?