Shaders in Sprites\: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(These shader sources can be found in the modern SDK (some were added with TF2 source code, others were there already))
 
Line 18: Line 18:
=== [[predator]] ===
=== [[predator]] ===
* Used in only one material: <code>predator.vmt</code>
* Used in only one material: <code>predator.vmt</code>
* Not found in released mod code.
* Can be found in [[Source SDK 2013 MP]] source code.




[[Category:Shaders]]
[[Category:Shaders]]

Latest revision as of 14:39, 30 June 2025

The Sprites\ folder of Source Materials.gcf contain shaders handling sprites and HUD (Heads-Up Display) elements:

  • UnlitGeneric is used for 52 materials.
  • Refract is used for the heatwave.vmt material.
  • Refract_DX60 is used for the heatwave.vmt material (as a fallback shader for the Refract shader).
  • Subrect is used for the fire_floor_subrect.vmt material.


Dedicated Shaders

The following shaders are more or less exclusively used for this folder:

Sprite

  • Used in numerous materials.

predator