SlashCo Wiki

SlashCo.Blur

  SlashCo.Blur( Panel panel )

Description

Draws a full screen blur effect using the pp/blurscreen material.
Intended to be called from within a panel's Paint function; when a panel is given, the blur is offset to counteract that panel's local coordinate system.

Arguments

1Panel panel

The panel to align the blur with. If omitted, the blur is drawn at (0, 0).