home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Interface / sprite_noalpha.mat < prev    next >
Encoding:
Text File  |  2004-06-17  |  606 b   |  31 lines

  1.  
  2. shader()
  3. {
  4.     cull("none")
  5.     sortweight("sprite")
  6.  
  7.     pass()
  8.     {
  9.  
  10.         tmu()
  11.         {
  12.             texture()
  13.             {
  14.                 usermap(0)
  15.                 filtering("linear_no_mip")
  16.                 addressfunc("clamp", "clamp", "clamp")
  17.             }
  18.  
  19.             colorop("mul", "texture", "tfactor", "current")
  20.             alphaop("arg2", "texture", "tfactor", "current")
  21.         }
  22.  
  23.         colorgen("tfactor", "user", 0, 0, 0, "user", 0, 0, 0)
  24.  
  25.         blendfunc( "src_alpha", "inv_src_alpha" )
  26.         depthfunc( "always", 0 )
  27.         nofog()
  28.     }
  29. }
  30.  
  31.