From GMod Wiki
DrawToyTown( Integer Passes,Integer Height. )
Where is this used?
|Used by the "ToyTown" Post-processing effect. Essentially it is the top and the bottom blending by drawing two quad at the top and the buttom of the screen and make them more fading.|
|Part of Library:||Global Functions|
|BBCode Link:||[b][url=http://wiki.garrysmod.com/?title=G.DrawToyTown]G.DrawToyTown [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]|
|Description||This will make your screen look more dramatic.|
local function TheWildWestEffect() DrawToyTown( 10, 200) end hook.Add( "RenderScreenspaceEffects", "WesternShootingEffect", TheWildWestEffect )
- You usually want to use this from the "RenderScreenspaceEffects" hooked like in the example.
- The best way to test for Args is to play around with the sandbox implementation.
- The Float of the Height in-game is the screen's height in percent.