$pointsamplemagfilter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(added page w basic details because there wasn't one yet)
 
(Rewriten and misc fixes)
Line 1: Line 1:
{{stub}}
{{stub}}
{{screenshot}}


'''$pointsamplemagfilter''' is a [[VMT]] parameter that allows a material to be drawn without texture filtering, providing a clean, pixellated look.{{csgo}}
{{Shaderparam|$pointsamplemagfilter|shader1=LightmappedGeneric|game=Counter-Strike: Global Offensive}} 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.}}
{{bug|Effect may not work on older hardware.}}
{{note|Only compatible with [[LightmappedGeneric]].}}
{{note|Not compatible with blended displacement materials.}}
{{note|Not compatible with blended displacement materials.}}
{{bug|This parameter may not work on older hardware.}}


[[Category:List of Shader Parameters|B]]
[[Category:List of Shader Parameters|P]]

Revision as of 14:55, 11 August 2019

Stub

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

Nuvola apps ksnapshot.png
This article or section needs a screenshot to help visually convey the subject.
You can upload screenshots at Special:Upload. For help, see Help:Images.

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 ?]