G.DrawSharpen

From GMod Wiki

Jump to: navigation, search
Function
Syntax DrawSharpen( Float Contrast ,Float Offset )
Where is this used?
Description:
Used by the "Sharpen" Post-processing effect. Mimics the Sharpness/Contrast dials on older TV sets.
Returns: nil
Part of Library: Global Functions
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.DrawSharpen]G.DrawSharpen [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis makes you want to adjust your TV Set.
Used onNewerClient.png
Code
local function PUMPPPTEST()
	DrawSharpen(1.991, 5)
end
hook.Add( "RenderScreenspaceEffects", "RenderPOO", PUMPPPTEST )
 
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