Garry's Mod Wiki

Garry's Mod Wiki

  DrawMotionBlur( number AddAlpha, number DrawAlpha, number Delay )

Description

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

Arguments

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.

Example

Creates a motion blur effect.

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...