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 )

Page Links


Special Pages


Wikis

?

Render Time: 33ms

DB GetPage 4
Generate Html 5
SaveChanges (1) 10
Render Body 0
Render Sidebar 13