Garry's Mod Wiki

Revision Difference

Global.DrawSharpen#515995

<function name="DrawSharpen" parent="Global" type="libraryfunc"> <description>Draws the sharpen shader, which creates more contrast.</description> <realm>Client</realm> <args> <arg name="Contrast" type="number">How much contrast to create.</arg> <arg name="Distance" type="number">How large the contrast effect will be.</arg> </args> </function> ⤶ {{Example⤶ | Description = Draws the sharpen shader.| Code = function GM:RenderScreenspaceEffects()⤶ ⤶ ```⤶ ⤶ <example>⤶ <description>Draws the sharpen shader.</description>⤶ <code>⤶ function GM:RenderScreenspaceEffects()⤶ DrawSharpen(1.2,1.2) ```⤶ ⤶ ⤶ end⤶ }}⤶ end⤶ </code>⤶ ⤶ </example>