home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / scripts / windowdecals.shader < prev    next >
Encoding:
Text File  |  2002-10-21  |  2.0 KB  |  102 lines

  1. textures/mohcommon/bordered_window_border
  2. {
  3.     qer_editorimage textures/mohcommon/window32.tga
  4.     sort banner
  5.     cull none
  6.     {
  7.         map textures/mohcommon/window32.tga
  8.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  9.     }
  10.     {
  11.         map $lightmap
  12.         rgbGen Identity
  13.         blendFunc GL_DST_COLOR GL_ZERO
  14.     }
  15. }
  16.  
  17. textures/mohcommon/bordered_window_glass
  18. {
  19.     qer_editorimage textures/mohcommon/window32.tga
  20.     cull none
  21.     {
  22.         map textures/mohcommon/envnormndy_day.tga
  23.         tcGen environment
  24.     }
  25.     {
  26.         map textures/mohcommon/window32.tga
  27.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  28.     }
  29.     {
  30.         map $lightmap
  31.         rgbGen Identity
  32.         blendFunc GL_DST_COLOR GL_ZERO
  33.     }
  34. }
  35.  
  36. textures/mohcommon/peacockgrill
  37. {
  38.     qer_editorimage textures/mohcommon/m_wndwiron1.tga
  39.     sort banner
  40.     cull none
  41.     {
  42.         map textures/mohcommon/m_wndwiron1.tga
  43.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  44.     }
  45.     {
  46.         map $lightmap
  47.         rgbGen Identity
  48.         blendFunc GL_DST_COLOR GL_ZERO
  49.     }
  50. }
  51.  
  52. textures/mohcommon/stonewindow_border
  53. {
  54.     qer_editorimage textures/mohcommon/winbrdr1.tga
  55.     surfaceparm trans
  56.     surfaceparm alphashadow
  57.     cull none
  58.     {
  59.         map textures/mohcommon/winbrdr1.tga
  60.         depthWrite
  61.         alphaFunc GE128
  62.     nextbundle
  63.         map $lightmap
  64.     }
  65. }
  66.  
  67. // Duplicate from mohcommon.shader, this needs to be sorted out
  68. //textures/mohcommon/panedwindow1
  69. //{
  70. //    qer_editorimage textures/mohcommon/window32_p1.tga
  71. //    cull none
  72. ////    sort banner
  73. //    {
  74. ////        map textures/models/weapons/m1garand/reflection1.tga
  75. //        map textures/mohcommon/envnormndy_day.tga
  76. //        tcGen environment
  77. //    }
  78. //    {
  79. //        map textures/mohcommon/window32_p1.tga
  80. //        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  81. //    }
  82. //    {
  83. //        map $lightmap
  84. //        rgbGen Identity
  85. //        blendFunc GL_DST_COLOR GL_ZERO
  86. //    }
  87. //}
  88.  
  89. textures/mohcommon/jh_maskwin1
  90. {
  91.     qer_editorimage textures/mohcommon/jh_maskwin1.tga
  92.     surfaceparm trans
  93.     cull none
  94.     nopicmip
  95.     {
  96.         map textures/mohcommon/jh_maskwin1.tga
  97.         depthWrite
  98.         alphaFunc GE128
  99.     nextbundle
  100.         map $lightmap
  101.     }
  102. }