#GitHub - noaccessl/gmod-PerformantRender...

1 messages · Page 1 of 1 (latest)

coral dew
#

why do you localize Convar:GetBool and then call it each frame

#
#

example

#
local enabled = CreateConVar( "rocketjumps_enabled", 1, { FCVAR_ARCHIVE }, "Enables rocket jumping (1/0).", 0 ):GetBool()
cvars.AddChangeCallback( "rocketjumps_enabled", function( _, _, val )
    enabled = tobool( val )
end)
bleak tundra
coral dew
#

it does cost

#

its a c call

#

and ofc a func call etc

half matrix
#

Other than that, it's pretty solid and definitely worth it for entity heavy servers too

coral dew
#

it doesnt seem to prevent networking though but thats understandable

#

ill try it out sometime

bronze yoke
#

Doesn't seem to hold up under extreme circumstances.
Was some subtle entity flickering, understandably doesn't work that well with special entities like barnacles, didn't handle npcs dying that well, and it conflicted with entities that SetNoDraw themselves.

kindred falcon
#

Impressively small 👍

shrewd sierra
shrewd sierra
#

I did some testing. There are some minor glitches here and there, but the largest thing I noticed is this small delay in rendering everything when it's time for them to show up. I also did not see any FPS increase, but then again that might only be noticeable when thousands of props are in view, I suppose.

bleak tundra
brisk sable
#

Does this still work? It uses the registery @bleak tundra

kindred falcon
#

Should be a quick update to fix