home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _85C4398EC62A4B9CBDFDA7BDD6C0099A < prev    next >
Encoding:
Text File  |  2004-06-16  |  1.9 KB  |  85 lines

  1.  
  2. Shader()
  3. {// >=gf3
  4.     SurfaceID(SRFTYPE)
  5.     Shaderquality(3)
  6.     Pass()
  7.     {
  8.         Lighting()
  9.         Pixelshader("TreeTrunk.psh")
  10.         //VertexShader("TreeTrunk.vsh")
  11.  
  12.         !include("__Tex1.mtt")
  13.  
  14.         !include("__Tex2.mtt")
  15.  
  16.         !include("__Clouds.mtt")
  17.         colorgen("tfactor", "user", 0, 0, 0, "user", 0, 0, 0)
  18.         AmbientColor(0.200, 0.200, 0.200, 1.000)
  19.         DiffuseColor(1.000, 1.000, 1.000, 1.000)
  20.         SpecularColor(0.000, 0.000, 0.000, 1.000)
  21.         EmissiveColor(0.000, 0.000, 0.000, 1.000)
  22.         SpecularPow(0.000)
  23.     }
  24.  
  25.     lightpass()
  26.     !include("Spot2Tex.mtt")
  27. }
  28.  
  29. Shader()
  30. {// >=gf3
  31.     SurfaceID(SRFTYPE)
  32.     Shaderquality(1)
  33.     Pass()
  34.     {
  35.         Lighting()
  36.         Pixelshader("TreeTrunkLow.psh")
  37.         //VertexShader("TreeTrunk.vsh")
  38.  
  39.         !include("__Tex1.mtt")
  40.  
  41.         !include("__Tex2.mtt")
  42.  
  43.         colorgen("tfactor", "user", 0, 0, 0, "user", 0, 0, 0)
  44.         AmbientColor(0.200, 0.200, 0.200, 1.000)
  45.         DiffuseColor(1.000, 1.000, 1.000, 1.000)
  46.         SpecularColor(0.000, 0.000, 0.000, 1.000)
  47.         EmissiveColor(0.000, 0.000, 0.000, 1.000)
  48.         SpecularPow(0.000)
  49.     }
  50.  
  51.     lightpass()
  52.     !include("Spot2Tex.mtt")
  53. }
  54.  
  55. Shader()
  56. {
  57.     Shaderquality(0)
  58.     SurfaceID(SRFTYPE)
  59.     Pass()
  60.     {
  61.         Lighting()
  62.  
  63.         tmu()
  64.         {
  65.             TexMod("rotate", "sin", 0, 3, 0.1, "sin", 0, 2.7, 0.11)
  66.             texture()
  67.             {
  68.                 Mapchannel(0)
  69.                 image(TEXTURE1)
  70.                 addressfunc("wrap", "wrap", "wrap")
  71.             }
  72.             ColorOp("mul", "texture", "current", "current")
  73.             AlphaOp("arg1", "diffuse", "current", "current")
  74.         }
  75.  
  76.         colorgen("diffuse", "user", 0, 0, 0, "user", 0, 0, 0)
  77.  
  78.         !include("__LightningColorsGF2.mtt")
  79.     }
  80.     lightpass()
  81.     !include("spot_spotmap.mtt")
  82. }
  83.  
  84.  
  85.