Shaders in shadertest\: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 3: Line 3:
*[[LightmappedGeneric]] is used for 48 materials.
*[[LightmappedGeneric]] is used for 48 materials.
*[[UnlitGeneric]] is used for 29 materials.
*[[UnlitGeneric]] is used for 29 materials.
*[[Water (shader)|Water]] is used for 4 materials.
*[[Water]] is used for 4 materials.
*[[Shaders in Nature\#Cloud|Cloud]] is used for two materials: <code>cloud.vmt</code> and <code>jet.vmt</code>
*[[Cloud]] is used for two materials: <code>cloud.vmt</code> and <code>jet.vmt</code>
*[[Shader_Types_and_Parameters|Eyeball]] is used for the <code>Eyeball.vmt</code> material.
*[[Shader_Types_and_Parameters|Eyeball]] is used for the <code>Eyeball.vmt</code> material.
*[[Shaders_in_Effects\#Modulate|Modulate]] is used for the <code>Modulate.vmt</code> material.
*[[Modulate]] is used for the <code>Modulate.vmt</code> material.
*[[Shader_Types_and_Parameters|Refract]] is used for the <code>glassbrick.vmt</code> material.
*[[Refract]] is used for the <code>glassbrick.vmt</code> material.
*[[Shader_Types_and_Parameters|Sprite]] is used for the <code>Sprite.vmt</code> material.
*[[Shader_Types_and_Parameters|Sprite]] is used for the <code>Sprite.vmt</code> material.
*[[UnlitTwoTexture]] is used for the <code>UnlitTwoTexture.vmt</code> material.
*[[UnlitTwoTexture]] is used for the <code>UnlitTwoTexture.vmt</code> material.
*[[Shaders_in_Debug\#Wireframe|Wireframe]] is used for two materials: <code>Wireframe.vmt</code> and <code>WireFrameVertexColor.vmt</code>
*[[Wireframe]] is used for two materials: <code>Wireframe.vmt</code> and <code>WireFrameVertexColor.vmt</code>
*[[Shaders_in_Engine\#VolumetricFog|VolumetricFog]] is used for the <code>VolumetricFog.vmt</code> material.
*[[VolumetricFog]] is used for the <code>VolumetricFog.vmt</code> material.
*[[WorldTwoTextureBlend]] is used for the <code>WorldTwoTextureBlend.vmt</code> material.
*[[WorldTwoTextureBlend]] is used for the <code>WorldTwoTextureBlend.vmt</code> material.



Revision as of 21:30, 25 May 2024

The shadertest\ folder of Source Materials.gcf contain shaders dedicated to shadertesting:

  • LightmappedGeneric is used for 48 materials.
  • UnlitGeneric is used for 29 materials.
  • Water is used for 4 materials.
  • Cloud is used for two materials: cloud.vmt and jet.vmt
  • Eyeball is used for the Eyeball.vmt material.
  • Modulate is used for the Modulate.vmt material.
  • Refract is used for the glassbrick.vmt material.
  • Sprite is used for the Sprite.vmt material.
  • UnlitTwoTexture is used for the UnlitTwoTexture.vmt material.
  • Wireframe is used for two materials: Wireframe.vmt and WireFrameVertexColor.vmt
  • VolumetricFog is used for the VolumetricFog.vmt material.
  • WorldTwoTextureBlend is used for the WorldTwoTextureBlend.vmt material.


Dedicated Shaders

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


BaseTimesLightmapTimesDetail

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

BaseTimesLightmapWet

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

Camo

  • Used in only one material: Camo.vmt
  • Probably not found in released mod code.
  • Do not confuse with the proxy with the same name.

DebugModifyVertex

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

GooInGlass

  • Used in only one material: GooInGlass.vmt
  • Used for realistic glass container, containing a violent fluid.
  • The alpha channel of "$basetexture" decides how much basetexture is shown on top of the bump map.
  • Not found in released mod code.

vertextexturetest

  • Used in only one material: vertextexturetest.vmt