Garry's Mod Wiki


  render.BlurRenderTarget( ITexture rendertarget, number blurx, number blury, number passes )


Blurs the render target ( or a given texture )

Calling this on a RenderTarget created with TEXTUREFLAGS_POINTSAMPLE will result in strange visual glitching.


1 ITexture rendertarget
The texture to blur
2 number blurx
Horizontal amount of blur
3 number blury
Vertical amount of blur
4 number passes
Amount of passes to go through