• Jittering positional updates in PostDrawOpaqueRenderables
    2 replies, posted
I set a generic prop_physics to nodraw with ent:SetNoDraw(true), and then create a clientside PostDrawOpaqueRenderables hook that calls this prop with ent:DrawModel(). The model draws, but if I move it around it jitters. The framerate is fine, far above 100, the entire time. Everything moves smoothly while this is happening except for the entity whose rendering I am overriding. Simply put, it is drawing the prop every frame, but not updating the position of the prop except for a very few times per second. My suspicion is that NoDraw flags Source to update it slower for optimization's sake. Is this the case? I'm on the dev version.
Had the same problem with doing this on players. SetNoDraw does affect the networking. You will have to set the alpha and disable shadows for the same effect.
Thanks for the confirmation.
Sorry, you need to Log In to post a reply to this thread.