Garry's Mod Wiki

Revision Difference

Shaders/g_refract#517110

<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> <item name="refractamount" type="number">Refract amount</item> ⤶ {{ShaderParameter|number|bluramount⤶ ⤶ <item name="bluramount" type="number"></item>⤶ ⤶ <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>⤶ </parameters> </shader> ⤶ ⤶ <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>⤶ ⤶ }}