home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _099E2A22F7A44182AF869FC007B4ECCC < prev    next >
Encoding:
Text File  |  2005-12-29  |  794 b   |  39 lines

  1. Shader()
  2. {
  3.     sortweight("translucent10")
  4.     Cull("cw")
  5.     Stream("color", 0)
  6.     Pass()
  7.     {
  8.         tmu()
  9.         {
  10.             TexMod("translate", "lin", 0, 0.03, 0, "lin", 0, 0.1, 0)
  11.             TexMod("scale", "const", 0.25, 0, 0, "const", 0.25, 0, 0)
  12.  
  13.             Texture()
  14.             {
  15.                 Mapchannel(0)
  16.                 Image("NoiseA.dds")
  17.             }
  18.             ColorOp("mul", "texture", "diffuse", "current")
  19.         }
  20.         tmu()
  21.         {
  22.             TexMod("translate", "lin", 0, -0.023, 0, "lin", 0, -0.1, 0)
  23.             TexMod("scale", "const", 0.25, 0, 0, "const", 0.25, 0, 0)
  24.  
  25.             Texture()
  26.             {
  27.                 Mapchannel(0)
  28.                 Image("NoiseA.dds")
  29.             }
  30.             ColorOp("mul", "texture", "current", "current")
  31.         }
  32.         Colorgen("diffuse", "sin", 0.5, 1, 0.5, "none", 0, 0, 0)
  33.         BlendFunc("one", "one")
  34.         depthfunc("lequal", 0)
  35.         NoFog()
  36.     }
  37. }
  38.  
  39.