Garry's Mod Wiki

Revision Difference

Shaders/g_refract#517099

<cat>shader</cat> <shader> <description>Shader used for the now-absent Morph post-processing effect. This effect can be restored with an [addon](http://steamcommunity.com/sharedfiles/filedetails/?id=501088470) available on the Workshop.</description> <parameters>{{ShaderParameter|number|refractamount|Refract amount</parameters>⤶ <parameters>⤶ <item name="refractamount" type="number">Refract amount</item>⤶ ⤶ {{ShaderParameter|number|bluramount⤶ </parameters>⤶ </shader> {{ShaderParameter|number|bluramount}}⤶ {{ShaderParameter|ITexture|fbtexture|Texture/Render target to apply the morph to}}⤶ {{ShaderParameter|ITexture|normalmap|Texture that holds the morph directions - red channel for X, green channel for Y.}} }}<item name="fbtexture" type="ITexture">Texture/Render target to apply the morph to</item>⤶ ⤶ <item name="normalmap" type="ITexture">Texture that holds the morph directions - red channel for X, green channel for Y.</item>⤶ }}