$pointsamplemagfilter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Rewriten and misc fixes)
(Added image)
Line 1: Line 1:
{{stub}}
{{stub}}
{{screenshot}}
[[File:$pointsamplemagfilter.png|thumb|Example of $pointsamplemagfilter set to 1 and 0.]]


{{Shaderparam|$pointsamplemagfilter|shader1=LightmappedGeneric|game=Counter-Strike: Global Offensive}} It disables texture filtering on a material, leading to a pixelated look.
{{Shaderparam|$pointsamplemagfilter|shader1=LightmappedGeneric|game=Counter-Strike: Global Offensive}} It disables texture filtering on a material, leading to a pixelated look.

Revision as of 16:32, 11 August 2019

Stub

This article or section is a stub. You can help by expanding it.

Example of $pointsamplemagfilter set to 1 and 0.

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

Note.pngNote:A similar effect can be achieved by enabling Point Sampling in a material's VTF file.
Note.pngNote:Not compatible with blended displacement materials.
Icon-Bug.pngBug:This parameter may not work on older hardware.  [todo tested in ?]