Garry's Mod Wiki

Revision Difference

Shaders/g_bokehblur#512901

<cat>shader</cat>⤶ <shader>⤶ <description>A bokeh blur shader which applies screen blur depending on distance.</description>⤶ <parameters>{{ShaderParameter|IMaterial|depthtext|The depth texture, usually should be "_rt_FullFrameFB"</parameters>⤶ ⤶ </shader>⤶ ⤶ ⤶ {{ShaderParameter|number|focus|The focus distance?}}⤶ {{ShaderParameter|number|focusradius|The focus radius?}}⤶ {{ShaderParameter|number|size|The strength of the blur}}⤶ }}