Garry's Mod Wiki

DrawToyTown

  DrawToyTown( number Passes, number Height )

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

1 number Passes
An integer determining how many times to draw the effect. A higher number creates more blur.
2 number Height
The amount of screen which should be blurred on the top and bottom.

Example

Draws toy town effect.

hook.Add( "RenderScreenspaceEffects", "ToytownEffect", function() DrawToyTown(2, ScrH() / 2) end )