Garry's Mod Wiki

Revision Difference

Global.DrawSharpen#515881

<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.</description>⤶ <code>⤶ function GM:RenderScreenspaceEffects()⤶ ⤶ {{Example⤶ | Description = Draws the sharpen shader.| Code = function GM:RenderScreenspaceEffects()⤶ ⤶ ```⤶ DrawSharpen(1.2,1.2) ⤶ end⤶ </code>⤶ ⤶ </example>```⤶ ⤶ ⤶ end⤶ }}