$pointsamplemagfilter

From Valve Developer Community
Jump to: navigation, search
Example of $pointsamplemagfilter set to 1 and 0.

$pointsamplemagfilter is a material shader parameter available in <Counter-Strike: Global Offensive> Counter-Strike: Global Offensive for LightmappedGeneric. It disables texture filtering on a material, leading to a pixelated look.

Note:Not compatible with blended displacement materials.
Note:A similar effect can be achieved by enabling Point Sampling in a material's VTF file. ( Which does work with blended materials, use this instead! )
Bug: This parameter may not work on older hardware.

VMT syntax example

$pointsamplemagfilter <bool>