Difference between revisions of "Shaders in Engine\"

From Valve Developer Community
Jump to: navigation, search
m (VolumetricFog: Someone said this doesn't work.)
(DepthWrite)
 
(6 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
===ColorCorrection===
 
===ColorCorrection===
 
* Used in only one material: <code>colorcorrection.vmt</code>
 
* Used in only one material: <code>colorcorrection.vmt</code>
*
 
 
  
 
===DepthWrite===
 
===DepthWrite===
Line 20: Line 18:
 
* Not found in released mod code.
 
* Not found in released mod code.
 
* Do not confuse this shader with the proxy by the same name.
 
* Do not confuse this shader with the proxy by the same name.
 
  
 
===FilmDust===
 
===FilmDust===
 
* Used in only one material: <code>filmdust.vmt</code>
 
* Used in only one material: <code>filmdust.vmt</code>
 
* Not found in released mod code.
 
* Not found in released mod code.
 
  
 
===FilmGrain===
 
===FilmGrain===
 
* Used in only one material: <code>filmgrain.vmt</code>
 
* Used in only one material: <code>filmgrain.vmt</code>
 
* Not found in released mod code (but probably referred to).
 
* Not found in released mod code (but probably referred to).
 
  
 
===InternalFrameSync===
 
===InternalFrameSync===
 
* Used by only one material: <code>framesync.vmt</code>.
 
* Used by only one material: <code>framesync.vmt</code>.
 
* Not found in released mod code.
 
* Not found in released mod code.
 
  
 
===Occlusion===
 
===Occlusion===
 
* Used by only one material: <code>occlusionproxy.vmt</code>
 
* Used by only one material: <code>occlusionproxy.vmt</code>
*
 
 
  
 
===ShadowBuild===
 
===ShadowBuild===
Line 46: Line 38:
 
* Valve remark: "Used to generate render-to-texture shadows"
 
* Valve remark: "Used to generate render-to-texture shadows"
 
* Not found in released mod code.
 
* Not found in released mod code.
 
  
 
===VolumetricFog===
 
===VolumetricFog===

Latest revision as of 08:10, 18 April 2011

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
  • Not found in released mod code.
  • Do not confuse this shader with the proxy by the same name.

FilmDust

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

FilmGrain

  • Used in only one material: filmgrain.vmt
  • Not found in released mod code (but probably referred to).

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"
  • Not found in released mod code.

VolumetricFog

  • Used by the material Engine\volumetricfog.vmt. Also used for shadertesting. (See Shaders in shadertest\.)
  • No parameters are given.
  • Not found in released mod code.
  • Reported not to work.

WriteZ

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