Garry's Mod Wiki


  DrawMotionBlur( number AddAlpha, number DrawAlpha, number Delay )


Creates a motion blur effect by drawing your screen multiple times.


1 number AddAlpha
How much alpha to change per frame.
2 number DrawAlpha
How much alpha the frames will have. A value of 0 will not render the motion blur effect.
3 number Delay
Determines the amount of time between frames to capture.


Creates a motion blur effect.

hook.Add( "RenderScreenspaceEffects", "MotionBlurEffect", function() DrawMotionBlur( 0.4, 0.8, 0.01 ) end )