$pointsamplemagfilter

From Valve Developer Community
Revision as of 16:37, 13 August 2019 by ThunderKeil (talk | contribs) (added VTF PS blend compatibility, syntax sample, unstubbed)
Jump to navigation Jump to search
Example of $pointsamplemagfilter set to 1 and 0.

Template:Shaderparam It disables texture filtering on a material, leading to a pixelated look.

Note.pngNote:Not compatible with blended displacement materials.
Note.pngNote: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! )
Icon-Bug.pngBug:This parameter may not work on older hardware.  [todo tested in ?]

VMT syntax example

$pointsamplemagfilter <bool>