home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Interface / sprite_blend_add_wrap.mat < prev    next >
Encoding:
Text File  |  2004-01-05  |  586 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("wrap", "wrap", "wrap")
  17.             }
  18.  
  19.             colorop("mul", "texture", "tfactor", "current")
  20.             alphaop("mul", "texture", "tfactor", "current")
  21.         }
  22.  
  23.         colorgen("tfactor", "user", 0, 0, 0, "user", 0, 0, 0)
  24.  
  25.         blendfunc( "one", "one" )
  26.         depthfunc( "always", 0 )
  27.         nofog()
  28.     }
  29. }
  30.  
  31.