Garry's Mod Wiki

DrawSharpen

  DrawSharpen( number Contrast, number Distance )

Description

Draws the sharpen shader, which creates more contrast.

Arguments

1 number Contrast
How much contrast to create.
2 number Distance
How large the contrast effect will be.

Example

Draws the sharpen shader.

hook.Add( "RenderScreenspaceEffects", "SharpenShader", function() DrawSharpen( 1.2, 1.2 ) end )