DrawMotionBlur

From Garry's Mod
Jump to: navigation, search
 DrawMotionBlur( )

Contents

Description

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

Arguments

number AddAlpha

How much alpha to change per frame.

Arguments

number DrawAlpha

How much alpha the frames will have. A value of 0 will not render the motion blur effect.

Arguments

number Delay

Determines the amount of time between frames to capture.

Examples

Example

Creates a motion blur effect.

function GM:RenderScreenspaceEffects()

 DrawMotionBlur(0.4, 0.8, 0.01)

end


Personal tools
Navigation