home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Interface / con_bkgd.mat < prev    next >
Encoding:
Text File  |  2004-01-05  |  1.1 KB  |  44 lines

  1.  
  2. shader()
  3. {
  4.     cull("none")
  5.     sortweight("sprite")
  6.     
  7.     stream("color", 0)
  8.     
  9.     pass()
  10.     {
  11.           tmu()
  12.         {
  13.             texture()
  14.             {
  15.                 image("ConsoleBackground.dds")
  16.                 filtering("linear_no_mip")
  17.             }
  18.  
  19.             texmod("translate", "none", 0, 0, 0, "lin", 0, 0.1, 0)
  20.  
  21.             ColorOp( "mul", "texture", "tfactor", "current" )
  22.             AlphaOp( "mul", "texture", "tfactor", "current" )
  23.         }
  24.           tmu()
  25.         {
  26.             texture()
  27.             {
  28.                 image("ConsoleBackground.dds")
  29.                 mapchannel(0)
  30.                 filtering("linear_no_mip")
  31.             }
  32.             texmod("scale", "const", 2, 0, 0, "const", 2, 0, 0)
  33.             texmod("translate", "none", 0, 0, 0, "lin", 0, 0.1, 0)
  34.  
  35.             ColorOp( "blend_current_alpha", "texture", "current", "current" )
  36.             AlphaOp( "arg1", "diffuse", "current", "current" )
  37.         }
  38.         tfactor(0.5, 0.5, 0.5, 0.5)
  39.         BlendFunc( "src_alpha", "inv_src_alpha" )
  40.         DepthFunc( "always", 0 )
  41.     }
  42. }
  43.  
  44.