G.DrawSobel

From GMod Wiki

Jump to: navigation, search
Function
Syntax DrawSobel( Float Threshold )
Where is this used?
Description:
Applies the sobel effect
Returns: nil
Part of Library: Global Functions
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.DrawSobel]G.DrawSobel [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionDraws the Sobel effect on a players screen.
Used onNewerClient.png
Code
function CreateSobel()
    DrawSobel( 0.5 )
end
hook.Add( "RenderScreenspaceEffects", "CreateSobel", CreateSobel )
OutputN/A


Additional Notes

See Also

Color wheel.pngPost 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.

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox