Garry's Mod Wiki

DrawMotionBlur

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.

function GM:RenderScreenspaceEffects() DrawMotionBlur(0.4, 0.8, 0.01) end

Page Links


Special Pages


Wikis

?

Render Time: 31ms

Session 0
DB GetPage 3
Generate Html 6
SaveChanges 8
Render Body 0
Render Sidebar 12