$pointsamplemagfilter: Difference between revisions
Jump to navigation
Jump to search
Note:Not compatible with blended displacement materials.
Note: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! )
Bug:This parameter may not work on older hardware. [todo tested in ?]
(Added image) |
ThunderKeil (talk | contribs) (added VTF PS blend compatibility, syntax sample, unstubbed) |
||
Line 1: | Line 1: | ||
[[File:$pointsamplemagfilter.png|thumb|Example of $pointsamplemagfilter set to 1 and 0.]] | [[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. | ||
{{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 material's [[VTF]] file. ( Which <i>does</i> work with blended materials, use this instead! )}} | |||
{{bug|This parameter may not work on older hardware.}} | {{bug|This parameter may not work on older hardware.}} | ||
== VMT syntax example == | |||
$pointsamplemagfilter <[[bool]]> | |||
[[Category:List of Shader Parameters|P]] | [[Category:List of Shader Parameters|P]] |
Revision as of 16:37, 13 August 2019
Template:Shaderparam It disables texture filtering on a material, leading to a pixelated look.



VMT syntax example
$pointsamplemagfilter <bool>