home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2002 December / JOY143_CD1.iso / Data / Demos / Platoon / pl_demo.exe / Shaders / Materials / SaturnRing.mat < prev    next >
Text File  |  2002-09-17  |  1KB  |  54 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. ; a glow hattert sotetito resze!
  15.   [Pass]
  16.   {
  17.     [Layer]
  18.     {
  19.       TextureSource     = TEXT_DIFFUSE
  20.       TexCoordIndex     = 0
  21.  
  22.       ColorArg1 = TA_TEXTURE
  23.       ColorOp   = TOP_SELECTARG1
  24.  
  25.       AlphaArg1 = TA_TEXTURE    
  26.       AlphaOp   = TOP_SELECTARG1
  27.  
  28.       TextureAddressU = TADDRESS_CLAMP
  29.       TextureAddressV = TADDRESS_CLAMP
  30.       Filter = TF_LINEAR_MIP_LINEAR
  31.     }
  32.  
  33.     FillMode    = FILL_SOLID
  34.     Cull        = CULL_NONE
  35.     DitherEnable        = TRUE
  36.     SpecularEnable      = FALSE
  37.  
  38.     LightingEnable      = FALSE
  39.     NormalizeNormals    = FALSE
  40.     LocalViewer         = FALSE
  41.  
  42.     AlphaTestEnable    = TRUE
  43.     AlphaFunc        = CMP_GREATER
  44.     AlphaRef        = 0
  45.  
  46.     AlphaBlendEnable    = TRUE
  47.     SrcBlend    = BLEND_ONE
  48.     DestBlend   = BLEND_INVSRCALPHA
  49.  
  50.     ZWriteEnable        = FALSE
  51.     ZFunc               = CMP_LESS
  52.   }
  53. }
  54.