Revision Difference
Post-Processing_Materials#561076
<cat>Dev</cat>⤶
<cat>Dev.Ref</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 |
-----|--------|------------|
| 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 | [UnlitGeneric](https://developer.valvesoftware.com/wiki/UnlitGeneric) | 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 | [UnlitGeneric](https://developer.valvesoftware.com/wiki/UnlitGeneric) | |
| 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 | [UnlitGeneric](https://developer.valvesoftware.com/wiki/UnlitGeneric) | |
| pp/morph/brush_outline | [UnlitGeneric](https://developer.valvesoftware.com/wiki/UnlitGeneric) | |
| pp/morph/brush1 | [UnlitGeneric](https://developer.valvesoftware.com/wiki/UnlitGeneric) | |
| pp/morph/refract | <page text="g_refract">Shaders/g_refract</page> | |