G.DrawMaterialOverlay
From GMod Wiki
Function | |
Syntax |
DrawMaterialOverlay( String Texture, Float RefractAmount ) Where is this used? |
Description: | |
Applies a texture overlay. Used in the "Overlay" post-processing effect. | |
Returns: | nil |
Part of Library: | Global Functions |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.DrawMaterialOverlay]G.DrawMaterialOverlay [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Use this in the hook RenderScreenspaceEffects.
See Also
Post Processing |
Hook: RenderScreenspaceEffects
Functions:
- DrawBloom -
- DrawColorModify -
- DrawMaterialOverlay -
- DrawMorph -
- DrawMotionBlur -
- DrawSharpen -
- DrawSobel -
- DrawSunBeams -
- DrawToyTown -
For usage of the Sandbox Post Processing menu, see Post Processing Menu.