G.DrawMorph
From GMod Wiki
Function | |
Syntax |
DrawMorph( Integer Size. ) Where is this used? |
Description: | |
Used by the "DrawMorph" Post-processing effect. | |
Returns: | nil |
Part of Library: | Global Functions |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.DrawMorph]G.DrawMorph [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Blurs the hell out of your screen. |
---|---|
Used on | |
Code | hook.Add( "RenderScreenspaceEffects", "BlurMe", PostProcess ) function PostProcess() DrawMorph( -10 ) DrawMorph( 10 ) end |
Output | N/A |
Additional Notes
- Negative numbers blur the bottom-right corners.
- You usually want to use this from the "RenderScreenspaceEffects" hooked like in the example.
See Also
Post Processing |
Hook: RenderScreenspaceEffects
Functions:
- DrawBloom -
- DrawColorModify -
- DrawMaterialOverlay -
- DrawMorph -
- DrawMotionBlur -
- DrawSharpen -
- DrawSobel -
- DrawSunBeams -
- DrawToyTown -
For usage of the Sandbox Post Processing menu, see Post Processing Menu.