home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _094F02CDC69B4936A4E2549D91B41C06 < prev    next >
Encoding:
Text File  |  2004-03-04  |  1.2 KB  |  51 lines

  1. light("spot_spotmap")
  2. {
  3.     pass()
  4.     {
  5.         tmu()
  6.         {
  7.             texgen("spotlight")
  8.             texture()
  9.             {
  10.                 spotmap()
  11.                 addressfunc("clamp", "clamp", "clamp")
  12.                 filtering("linear_no_mip")  //FIXIT
  13.             }
  14.             colorop("mul", "texture", "tfactor", "current")
  15.         }
  16.  
  17.         tmu()
  18.         {
  19.             texgen("spotlight_z_att")
  20.             texture()
  21.             {
  22.                 image("spot_z.png")
  23.                 addressfunc("clamp", "clamp", "clamp")
  24.                 filtering("linear_no_mip")
  25.             }
  26.             colorop("mul", "texture", "current", "current")
  27.         }
  28.         tmu()
  29.         {
  30.             Texture()
  31.             {
  32.                 Mapchannel(0)
  33.                 Image(TEXTURE1)
  34.                 !include(TEX1OPTIONSFILE)
  35.             }
  36.             colorop("mul", "texture", "current", "current")
  37.             alphaop("mul2", "texture", "tfactor", "current")
  38.         }
  39.         tfactor(1,1,1,1)
  40.         colorgen("tfactor", "user", 0,0,0, "none", 0,0,0)
  41.  
  42.         blendfunc("one", "one")
  43.         depthfunc("lequal", 0)
  44.  
  45.         AlphaFunc( "gequal", ALPHAFUNCVALUE )
  46.  
  47.         blackfog()
  48.     }
  49. }
  50.  
  51.