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.

function GM:RenderScreenspaceEffects() DrawToyTown(2, ScrH()/2) end

Page Links


Special Pages


Wikis

?

Render Time: 25ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 12
Render Body 0
Render Sidebar 6