Garry's Mod Wiki

Garry's Mod Wiki

  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 )

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...