home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Interface / Gizmo SI.mat < prev    next >
Encoding:
Text File  |  2004-03-04  |  1.0 KB  |  40 lines

  1. Shader()
  2. {
  3.     ClearDepthStencil()
  4.     SortWeight("translucent14")
  5.  
  6.     Pass()
  7.     {
  8.         Lighting()
  9.  
  10.         tmu()
  11.         {
  12.             Texture()
  13.             {
  14.                 Image("gizmo.dds")
  15.             }
  16.             //ColorOp( "mul", "texture", "tfactor", "current")
  17.             ColorOp( "add", "texture", "tfactor", "current")
  18.             //colorop("mul", "texture", "tfactor_a", "current")
  19.             //colorop("blend_factor_alpha", "texture", "tfactor", "current")
  20.             alphaop("arg2", "texture", "tfactor", "current")
  21.         }
  22.  
  23.         AmbientColor(1.000, 1.000, 1.000, 1.000)
  24.         DiffuseColor(1.000, 1.000, 1.000, 1.000)
  25.         SpecularColor(0.000, 0.000, 0.000, 1.000)
  26.         EmissiveColor(0.000, 0.000, 0.000, 1.000)
  27.         SpecularPow(0.000)
  28.         Tfactor( 0.75, 0.75, 0.0, 0.35)
  29.  
  30.         BlendFunc("src_alpha", "inv_src_alpha")
  31.         //BlendFunc("one", "one")
  32.         //BlendFunc("one", "inv_src_alpha")
  33.         DepthFunc("lequal", 0)
  34.     }
  35.  
  36.     Cull("cw")
  37. }
  38.  
  39.  
  40.