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

  1. ; texturemapped, reflection mapped with reflection level map!
  2. ; Sima Map -> DIFFUSE TEXTURE rgb
  3. ; Reflection level Map -> DIFFUSE TEXTURE alpha
  4. ; Reflection Map -> REFLECTION TEXTURE rgb
  5. ;
  6. ; Warning: a refmap csak grayscale-ben shadelt!
  7.  
  8. #include "..\MaterialDefine.def"
  9.  
  10. [Technique]
  11. {
  12. ;  Detail        = DETAIL_HIGH
  13.  
  14.   [Pass]
  15.   {
  16.     [Layer]
  17.     {
  18.       ColorArg1 = TA_TFACTOR  ;diffuse textura
  19.       ColorOp   = TOP_SELECTARG1
  20.  
  21.       AlphaArg1 = TA_TFACTOR    
  22.       AlphaOp   = TOP_SELECTARG1
  23.     }
  24.  
  25.     FillMode    = FILL_SOLID
  26.     Cull        = CULL_CW
  27.     DitherEnable        = TRUE
  28.     SpecularEnable      = FALSE
  29.  
  30.     LightingEnable      = FALSE
  31.     NormalizeNormals    = FALSE
  32.     LocalViewer         = FALSE
  33.  
  34.     AlphaTestEnable    = FALSE
  35.  
  36.     AlphaBlendEnable    = TRUE
  37.     SrcBlend    = BLEND_SRCALPHA
  38.     DestBlend   = BLEND_INVSRCALPHA
  39.  
  40.     TextureFactor = 255,255,255,255    
  41.  
  42.     ZWriteEnable        = TRUE
  43.     ZFunc               = CMP_LESSEQUAL
  44.   }
  45. }
  46.