DrawToyTown

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

Contents

Description

Draws the toy town shader, which blurs the top and bottom of your screen. This can make very large objects look like toys, hence the name.

Arguments

number Passes

An integer determining how many times to draw the effect. A higher number creates more blur.

Arguments

number Height

The amount of screen which should be blurred on the top and bottom.

Examples

Example

Draws toy town effect.

function GM:RenderScreenspaceEffects()

 DrawToyTown(2, ScrH()/2)

end


Personal tools
Navigation