DrawSobel

From Garry's Mod
Jump to: navigation, search
 DrawSobel( )

Contents

Description

Draws the sobel shader, which detects edges and draws a black border.

Arguments

number Threshold

Determines the threshold of edges. A value of 0 will make your screen completely black.

Examples

Example

Draws the sobel shader.

function GM:RenderScreenspaceEffects()

 DrawSobel(0.5)

end


Personal tools
Navigation