Garry's Mod Wiki

Garry's Mod Wiki

  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 )

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...