From Valve Developer Community
Revision as of 23:32, 11 August 2019 by Darnias (talk | contribs) (Added image)

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:A similar effect can be achieved by enabling Point Sampling in a material's VTF file.
Note:Not compatible with blended displacement materials.
Bug: This parameter may not work on older hardware.