Garry's Mod Wiki

Revision Difference

Shaders/g_bokehblur#516959

<cat>shader</cat> {{Shader⤶ |Description=A bokeh blur shader which applies screen blur depending on distance.|Parameters=⤶ {{ShaderParameter|IMaterial|depthtext|The depth texture, usually should be "_rt_FullFrameFB"}}⤶ <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}} }}