home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2002 December / JOY143_CD1.iso / Data / Demos / Platoon / pl_demo.exe / Shaders / Materials / fembarakk.mat < prev    next >
Text File  |  2002-09-17  |  2KB  |  106 lines

  1. #include "..\MaterialDefine.def"
  2.  
  3. [Technique]
  4. {
  5.   [Pass]
  6.   {
  7.     [Layer]
  8.     {
  9.       TextureSource     = TEXT_DIFFUSE
  10.       TexCoordIndex     = 0
  11.  
  12.       ColorArg1 = TA_TEXTURE
  13.       ColorArg2 = TA_DIFFUSE
  14.       ColorOp   = TOP_MODULATE
  15.  
  16.       AlphaOp   = TOP_DISABLE
  17.  
  18.       TextureAddressU = TADDRESS_WRAP
  19.       TextureAddressV = TADDRESS_CLAMP
  20.       Filter = TF_LINEAR_MIP_LINEAR
  21.     }
  22.     [Layer]
  23.     {
  24.       ColorArg1 = TA_CURRENT
  25.       ColorArg2 = TA_TFACTOR
  26.       ColorOp   = TOP_MODULATE
  27.  
  28.       AlphaOp   = TOP_DISABLE
  29.     }
  30.  
  31.     FillMode    = FILL_SOLID
  32.     Cull        = CULL_CW
  33.     DitherEnable        = TRUE
  34.     SpecularEnable      = FALSE
  35.  
  36.     LightingEnable      = TRUE
  37.     NormalizeNormals    = TRUE
  38.     LocalViewer         = FALSE
  39.  
  40.     AlphaTestEnable     = FALSE
  41.  
  42.     AlphaBlendEnable    = FALSE
  43.  
  44.     ZWriteEnable        = TRUE
  45.     ZFunc               = CMP_LESS
  46.  
  47.     TextureFactor    = 255, 255, 255, 255
  48.  
  49.     DiffuseMaterialSource    = MCS_MATERIAL
  50.     SpecularMaterialSource    = MCS_MATERIAL
  51.     AmbientMaterialSource    = MCS_MATERIAL
  52.     EmissiveMaterialSource    = MCS_MATERIAL
  53.   }
  54.   [Pass]
  55.   {
  56.     [Layer]
  57.     {
  58.       TextureSource     = TEXT_DIFFUSE
  59.       TexCoordIndex     = 0
  60.  
  61.       ColorArg1 = TA_SPECULAR
  62.       ColorArg2 = TA_TEXTUREALPHA
  63.       ColorOp   = TOP_SUBTRACT
  64.  
  65.       AlphaOp   = TOP_DISABLE
  66.  
  67.       TextureAddressU = TADDRESS_WRAP
  68.       TextureAddressV = TADDRESS_CLAMP
  69.       Filter = TF_LINEAR_MIP_LINEAR
  70.     }
  71.     [Layer]
  72.     {
  73.       ColorArg1 = TA_CURRENT
  74.       ColorArg2 = TA_TFACTOR
  75.       ColorOp   = TOP_MODULATE
  76.  
  77.       AlphaOp   = TOP_DISABLE
  78.     }
  79.  
  80.     FillMode    = FILL_SOLID
  81.     Cull        = CULL_CW
  82.     DitherEnable        = TRUE
  83.     SpecularEnable      = FALSE
  84.  
  85.     LightingEnable      = TRUE
  86.     NormalizeNormals    = TRUE
  87.     LocalViewer         = TRUE
  88.  
  89.     AlphaTestEnable     = FALSE
  90.  
  91.     AlphaBlendEnable    = TRUE
  92.     SrcBlend    = BLEND_ONE
  93.     DestBlend   = BLEND_ONE
  94.  
  95.     ZWriteEnable        = FALSE
  96.     ZFunc               = CMP_LESSEQUAL
  97.  
  98.     TextureFactor    = 255, 255, 255, 255
  99.  
  100.     DiffuseMaterialSource    = MCS_MATERIAL
  101.     SpecularMaterialSource    = MCS_MATERIAL
  102.     AmbientMaterialSource    = MCS_MATERIAL
  103.     EmissiveMaterialSource    = MCS_MATERIAL
  104.   }
  105. }
  106.