Shaders in Glass

From Valve Developer Community
Revision as of 00:30, 12 February 2008 by Andreasen (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Glass\ folder of Source Materials.gcf contain shaders dedicated to windows and glass materials:

Dedicated Shaders

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

LightmappedTwoTexture

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

ShatteredGlass

  • Used in only one material: glasswindowbreak070b.vmt
  • Only referred to once in released mod code (in src\utils\vbsp\cubemap.cpp).
  • Closely related to the $crackmaterial parameter, which in turn is related to the func_breakable_surf entity.

ShatteredGlass_DX7

  • Used in the glasswindowbreak070b.vmt material (as a fallback shader for the ShatteredGlass shader). See above.

ShatteredGlass_DX8

  • Used in the glasswindowbreak070b.vmt material (as a fallback shader for the ShatteredGlass shader). See above.