$pointsamplemagfilter
	(Redirected from $PointSampleMagFilter)
		
		
		
		Jump to navigation
		Jump to search
		
 
$pointsamplemagfilter is a material shader parameter available in  Counter-Strike: Global Offensive,
 Counter-Strike: Global Offensive,  Strata Source,
 Strata Source,  Military Conflict: Vietnam, and
 Military Conflict: Vietnam, and  Jabroni Brawl: Episode 3 for
 Jabroni Brawl: Episode 3 for LightmappedGeneric. It disables texture filtering on a material if the texture resolution is bigger than the space it occupies onscreen, and linearly interpolated (smooth) if its smaller, and will use mipmaps.
This makes it pixelated when near the texture, but smooth when far way, and will not produce moiré patterns when viewed at grazing angles or from distance, unlike just enabling Point Sampling flag in a material's VTF.
 Note:Not compatible with blended displacement materials.
Note:Not compatible with blended displacement materials. Note:A similar effect can be achieved by enabling Point Sampling in a texture's VTF file (which works on all materials).
Note:A similar effect can be achieved by enabling Point Sampling in a texture's VTF file (which works on all materials). Note:Effect only works on
Note:Effect only works on $basetexture and will not have the desired effect on the $bumpmap. Bug:This parameter may not work on older hardware.  [todo tested in ?]
Bug:This parameter may not work on older hardware.  [todo tested in ?]VMT syntax example
$pointsamplemagfilter <bool>

























