Shaders in Engine\

From Valve Developer Community
Revision as of 14:18, 30 June 2025 by Cvoxalury (talk | contribs) (These shader sources can be found in the modern SDK (some were added with TF2 source code, others were there already))
Jump to navigation Jump to search

The Engine\ folder of Source Materials.gcf contains the following shaders:


Dedicated Shaders

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


ColorCorrection

  • Used in only one material: colorcorrection.vmt

DepthWrite

  • Used in only one material: depthwrite.vmt
  • Can be found in Source SDK 2013 source code.
  • Do not confuse this shader with the proxy by the same name.

FilmDust

FilmGrain

InternalFrameSync

  • Used by only one material: framesync.vmt.
  • Not found in released mod code.

Occlusion

  • Used by only one material: occlusionproxy.vmt

ShadowBuild

  • Used in only one material: shadowbuild.vmt
  • Valve remark: "Used to generate render-to-texture shadows"
  • Can be found in Source SDK 2013 MP source code.

VolumetricFog

  • Used by the material Engine\volumetricfog.vmt. Also used for shadertesting. (See Shaders in shadertest\.)
  • No parameters are given.
  • Can be found in Source SDK 2013 MP source code.
  • Reported not to work.

WriteZ

  • Used in only one material: WriteZ.vmt
  • Material referred to in src\cl_dll\c_vguiscreen.cpp.