home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _311DA467A6CF4BE38D492E695ACAE65B < prev    next >
Encoding:
Text File  |  2004-03-17  |  738 b   |  41 lines

  1. shader()
  2. {
  3.     cull("none")
  4.     sortweight("sprite")
  5.  
  6.     pass()
  7.     {
  8.         pixelshader("glow_show.psh")
  9.  
  10.         // blurred glow
  11.         tmu()
  12.         {
  13.             texture()
  14.             {
  15.                 mapchannel(0)
  16.                 usermap(0)
  17.  
  18.                 addressfunc("clamp", "clamp", "clamp")
  19.                 filtering("linear_no_mip")
  20.             }
  21.         }
  22.  
  23.         // original buffer
  24.         tmu()
  25.         {
  26.             texture()
  27.             {
  28.                 mapchannel(0)
  29.                 usermap(1)
  30.  
  31.                 addressfunc("clamp", "clamp", "clamp")
  32.                 filtering("linear_no_mip")
  33.             }
  34.         }
  35.  
  36.         depthfunc("always", 0)
  37.         nofog()
  38.     }
  39. }
  40.  
  41.