Garry's Mod Wiki


  DrawToyTown( number Passes, number Height )


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.


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.


Draws toy town effect.

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