Garry's Mod Wiki

Revision Difference

Post-Processing_Materials#529801

<cat>Dev</cat> This is a list of default materials which can be used for post-processing. Can be acquired using <page>Global.Material</page>( `materialname` ) ⤶ ⤶ Name | Shader | Description |⤶ ⤶ Name | Shader | Description |⤶ -----|--------|------------| | pp/bloom | <page>g_bloom</page> | Used by <page>Global.DrawBloom</page>. | | pp/blurscreen | <page>GMODScreenspace</page> | | | pp/blurx | <page>g_blurx</page> | | | pp/blury | <page>g_blury</page> | | | pp/bokehblur | <page>g_bokehblur</page> | | | pp/colour | <page>g_colourmodify</page> | Used by <page>Global.DrawColorModify</page>. | | pp/copy | <page>UnlitGeneric</page> | Useful for copying one render target to another. Used by <page>halo</page>. | | pp/downsample | <page>g_downsample</page> | Used by <page>Global.DrawBloom</page>. | | pp/fb | <page>GMODScreenspace</page> | frame buffer? | | pp/motionblur | <page>GMODScreenspace</page> | Used by <page>Global.DrawMotionBlur</page>. | | pp/rt | <page>UnlitGeneric</page> | | | pp/scene-normal-model | <page>g_normals</page> | | | pp/scene-normal-world | <page>g_normals</page> | | | pp/scene-position-model | <page>g_position</page> | | | pp/scene-position-world | <page>g_position</page> | | | pp/sharpen | <page>g_sharpen</page> | Used by <page>Global.DrawSharpen</page>. | | pp/sobel | <page>sobel</page> | Used by <page>Global.DrawSobel</page>. | | pp/sub | <page>Modulate</page> | subtract? Used by the <page>halo</page>. | | pp/sunbeams | <page>g_sunbeams</page> | Used by <page>Global.DrawSunbeams</page>. | | pp/texturize | <page>g_texturize</page> | Used by <page>Global.DrawTexturize</page>. | | pp/toytown-top | <page>refract</page> | Used by <page>Global.DrawToyTown</page>. | | pp/videoscale | <page>g_downsample</page> | | | pp/videoupscale | <page>UnlitGeneric</page> | | | pp/morph/brush_outline | <page>UnlitGeneric</page> | | | pp/morph/brush1 | <page>UnlitGeneric</page> | | | pp/morph/refract | <page>g_refract</page> | | ⤶ ⤶ ⤶ | pp/bloom | <page text="g_bloom">Shaders/g_bloom</page> | Used by <page>Global.DrawBloom</page>. | | pp/blurscreen | <page text="GMODScreenspace">Shaders/GMODScreenspace</page> | | | pp/blurx | <page text="g_blurx">Shaders/g_blurx</page> | | | pp/blury | <page text="g_blury">Shaders/g_blury</page> | | | pp/bokehblur | <page text="g_bokehblur">Shaders/g_bokehblur</page> | | | pp/colour | <page text="g_colourmodify">Shaders/g_colourmodify</page> | Used by <page>Global.DrawColorModify</page>. | | pp/copy | <page text="UnlitGeneric">Shaders/UnlitGeneric</page> | Useful for copying one render target to another. Used by <page>halo</page>. | | pp/downsample | <page text="g_downsample">Shaders/g_downsample</page> | Used by <page>Global.DrawBloom</page>. | | pp/fb | <page text="GMODScreenspace">Shaders/GMODScreenspace</page> | frame buffer? | | pp/motionblur | <page text="GMODScreenspace">Shaders/GMODScreenspace</page> | Used by <page>Global.DrawMotionBlur</page>. | | pp/rt | <page text="UnlitGeneric">Shaders/UnlitGeneric</page> | | | pp/scene-normal-model | <page text="g_normals">Shaders/g_normals</page> | | | pp/scene-normal-world | <page text="g_normals">Shaders/g_normals</page> | | | pp/scene-position-model | <page text="g_position">Shaders/g_position</page> | | | pp/scene-position-world | <page text="g_position">Shaders/g_position</page> | | | pp/sharpen | <page text="g_sharpen">Shaders/g_sharpen</page> | Used by <page>Global.DrawSharpen</page>. | | pp/sobel | <page text="sobel">Shaders/sobel</page> | Used by <page>Global.DrawSobel</page>. | | pp/sub | <page text="Modulate">Shaders/Modulate</page> | subtract? Used by the <page>halo</page>. | | pp/sunbeams | <page text="g_sunbeams">Shaders/g_sunbeams</page> | Used by <page>Global.DrawSunbeams</page>. | | pp/texturize | <page text="g_texturize">Shaders/g_texturize</page> | Used by <page>Global.DrawTexturize</page>. | | pp/toytown-top | <page text="refract">Shaders/refract</page> | Used by <page>Global.DrawToyTown</page>. | | pp/videoscale | <page text="g_downsample">Shaders/g_downsample</page> | | | pp/videoupscale | <page text="UnlitGeneric">Shaders/UnlitGeneric</page> | | | pp/morph/brush_outline | <page text="UnlitGeneric">Shaders/UnlitGeneric</page> | | | pp/morph/brush1 | <page text="UnlitGeneric">Shaders/UnlitGeneric</page> | | | pp/morph/refract | <page text="g_refract">Shaders/g_refract</page> | |