Garry's Mod Wiki

render.PushFilterMag

  render.PushFilterMag( number texFilterType )

Description

Pushes a texture filter onto the magnification texture filter stack.

See also render.PushFilterMin and render.PopFilterMag.

Arguments

1 number texFilterType
The texture filter type, see TEXFILTER enum

Example

Anisotropic Filtering (This is not antialiasing)

render.PushFilterMag( TEXFILTER.ANISOTROPIC ) render.PushFilterMin( TEXFILTER.ANISOTROPIC ) -- Render stuff here render.PopFilterMag() render.PopFilterMin()