Garry's Mod Wiki

g_bokehblur

Description

A bokeh blur shader which applies screen blur depending on distance.

Parameters

IMaterial depthtext
The depth texture, usually should be "_rt_FullFrameFB"
number focus
The focus distance?
number focusradius
The focus radius?
number size
The strength of the blur