home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2002 April / GSSH42002.iso / MODS / JK2 / ffa_padstation.exe / padstation.pk3 / shaders / xpadeffect.shader
Text File  |  2002-05-12  |  12KB  |  621 lines

  1. // ==============================================================
  2. // The Most Shader and Shader-Textures are by Raven and by id !!!
  3. // ==============================================================
  4.  
  5. textures/xpadeffect/proto_light
  6. {
  7.     {
  8.         map $lightmap
  9.     }
  10.     {
  11.         map textures/xpadeffect/proto_light
  12.         blendFunc GL_DST_COLOR GL_ZERO
  13.     }
  14.     {
  15.         map textures/xpadeffect/proto_lightmap
  16.         blendFunc GL_ONE GL_ONE
  17.     }
  18. }
  19.  
  20. textures/xpadeffect/light1blue
  21. {
  22.     {
  23.         map $lightmap
  24.     }
  25.     {
  26.         map textures/xpadeffect/light1blue
  27.         blendFunc GL_DST_COLOR GL_ZERO
  28.     }
  29.     {
  30.         map textures/xpadeffect/light1blue.blend
  31.         blendFunc GL_ONE GL_ONE
  32.     }
  33. }
  34.  
  35. textures/xpadeffect/light_blue
  36. {
  37.     {
  38.         map $lightmap
  39.     }
  40.     {
  41.         map textures/xpadeffect/light_blue
  42.         blendFunc GL_DST_COLOR GL_ZERO
  43.     }
  44.     {
  45.         map textures/xpadeffect/light_blueglow
  46.         blendFunc GL_ONE GL_ONE
  47.     }
  48. }
  49.  
  50. textures/xpadeffect/light_red
  51. {
  52.     {
  53.         map $lightmap
  54.     }
  55.     {
  56.         map textures/xpadeffect/light_red
  57.         blendFunc GL_DST_COLOR GL_ZERO
  58.     }
  59.     {
  60.         map textures/xpadeffect/light_redglow
  61.         blendFunc GL_ONE GL_ONE
  62.     }
  63. }
  64.  
  65. textures/xpadeffect/light_round
  66. {
  67.     {
  68.         map $lightmap
  69.     }
  70.     {
  71.         map textures/xpadeffect/light_round
  72.         blendFunc GL_DST_COLOR GL_ZERO
  73.     }
  74.     {
  75.         map textures/xpadeffect/light_roundglow
  76.         blendFunc GL_ONE GL_ONE
  77.     }
  78. }
  79.  
  80. textures/xpadeffect/wires01_brown
  81. {
  82.         qer_editorimage textures/xpadeffect/wires01_brown
  83.         surfaceparm trans
  84.     surfaceparm playerclip
  85.        surfaceparm nonsolid
  86.     cull none
  87.         nopicmip
  88.     {
  89.         map textures/xpadeffect/wires01_brown
  90.         blendFunc GL_ONE GL_ZERO
  91.         alphaFunc GE128
  92.         depthWrite
  93.         rgbGen identity
  94.     }
  95.     {
  96.         map $lightmap
  97.         rgbGen identity
  98.         blendFunc GL_DST_COLOR GL_ZERO
  99.         depthFunc equal
  100.     }
  101. }
  102.  
  103. textures/xpadeffect/wires02_brown
  104. {
  105.         qer_editorimage textures/xpadeffect/wires02_brown
  106.         surfaceparm trans
  107.     surfaceparm playerclip
  108.        surfaceparm nonsolid
  109.     cull none
  110.         nopicmip
  111.     {
  112.         map textures/xpadeffect/wires02_brown
  113.         blendFunc GL_ONE GL_ZERO
  114.         alphaFunc GE128
  115.         depthWrite
  116.         rgbGen identity
  117.     }
  118.     {
  119.         map $lightmap
  120.         rgbGen identity
  121.         blendFunc GL_DST_COLOR GL_ZERO
  122.         depthFunc equal
  123.     }
  124. }
  125.  
  126. textures/xpadeffect/wires03_brown
  127. {
  128.         qer_editorimage textures/xpadeffect/wires03_brown
  129.         surfaceparm trans
  130.     surfaceparm playerclip
  131.        surfaceparm nonsolid
  132.     cull none
  133.         nopicmip
  134.     {
  135.         map textures/xpadeffect/wires03_brown
  136.         blendFunc GL_ONE GL_ZERO
  137.         alphaFunc GE128
  138.         depthWrite
  139.         rgbGen identity
  140.     }
  141.     {
  142.         map $lightmap
  143.         rgbGen identity
  144.         blendFunc GL_DST_COLOR GL_ZERO
  145.         depthFunc equal
  146.     }
  147. }
  148.  
  149. textures/xpadeffect/wires01_blue
  150. {
  151.         qer_editorimage textures/xpadeffect/wires01_blue
  152.         surfaceparm trans
  153.     surfaceparm playerclip
  154.        surfaceparm nonsolid
  155.     cull none
  156.         nopicmip
  157.     {
  158.         map textures/xpadeffect/wires01_blue
  159.         blendFunc GL_ONE GL_ZERO
  160.         alphaFunc GE128
  161.         depthWrite
  162.         rgbGen identity
  163.     }
  164.     {
  165.         map $lightmap
  166.         rgbGen identity
  167.         blendFunc GL_DST_COLOR GL_ZERO
  168.         depthFunc equal
  169.     }
  170. }
  171.  
  172. textures/xpadeffect/wires02_blue
  173. {
  174.         qer_editorimage textures/xpadeffect/wires02_blue
  175.         surfaceparm trans
  176.     surfaceparm playerclip
  177.        surfaceparm nonsolid
  178.     cull none
  179.         nopicmip
  180.     {
  181.         map textures/xpadeffect/wires02_blue
  182.         blendFunc GL_ONE GL_ZERO
  183.         alphaFunc GE128
  184.         depthWrite
  185.         rgbGen identity
  186.     }
  187.     {
  188.         map $lightmap
  189.         rgbGen identity
  190.         blendFunc GL_DST_COLOR GL_ZERO
  191.         depthFunc equal
  192.     }
  193. }
  194.  
  195. textures/xpadeffect/wires03_blue
  196. {
  197.         qer_editorimage textures/xpadeffect/wires03_blue
  198.         surfaceparm trans
  199.     surfaceparm playerclip
  200.        surfaceparm nonsolid
  201.     cull none
  202.         nopicmip
  203.     {
  204.         map textures/xpadeffect/wires03_blue
  205.         blendFunc GL_ONE GL_ZERO
  206.         alphaFunc GE128
  207.         depthWrite
  208.         rgbGen identity
  209.     }
  210.     {
  211.         map $lightmap
  212.         rgbGen identity
  213.         blendFunc GL_DST_COLOR GL_ZERO
  214.         depthFunc equal
  215.     }
  216. }
  217.  
  218. textures/xpadeffect/wires01_red
  219. {
  220.         qer_editorimage textures/xpadeffect/wires01_red
  221.         surfaceparm trans
  222.     surfaceparm playerclip
  223.        surfaceparm nonsolid
  224.     cull none
  225.         nopicmip
  226.     {
  227.         map textures/xpadeffect/wires01_red
  228.         blendFunc GL_ONE GL_ZERO
  229.         alphaFunc GE128
  230.         depthWrite
  231.         rgbGen identity
  232.     }
  233.     {
  234.         map $lightmap
  235.         rgbGen identity
  236.         blendFunc GL_DST_COLOR GL_ZERO
  237.         depthFunc equal
  238.     }
  239. }
  240.  
  241. textures/xpadeffect/wires04_red
  242. {
  243.         qer_editorimage textures/xpadeffect/wires04_red
  244.         surfaceparm trans
  245.     surfaceparm playerclip
  246.        surfaceparm nonsolid
  247.     cull none
  248.         nopicmip
  249.     {
  250.         map textures/xpadeffect/wires04_red
  251.         blendFunc GL_ONE GL_ZERO
  252.         alphaFunc GE128
  253.         depthWrite
  254.         rgbGen identity
  255.     }
  256.     {
  257.         map $lightmap
  258.         rgbGen identity
  259.         blendFunc GL_DST_COLOR GL_ZERO
  260.         depthFunc equal
  261.     }
  262. }
  263.  
  264. textures/xpadeffect/wires03_red
  265. {
  266.         qer_editorimage textures/xpadeffect/wires03_red
  267.         surfaceparm trans
  268.     surfaceparm playerclip
  269.        surfaceparm nonsolid
  270.     cull none
  271.         nopicmip
  272.     {
  273.         map textures/xpadeffect/wires03_red
  274.         blendFunc GL_ONE GL_ZERO
  275.         alphaFunc GE128
  276.         depthWrite
  277.         rgbGen identity
  278.     }
  279.     {
  280.         map $lightmap
  281.         rgbGen identity
  282.         blendFunc GL_DST_COLOR GL_ZERO
  283.         depthFunc equal
  284.     }
  285. }
  286.  
  287. textures/xpadeffect/x_support1
  288. {
  289.         qer_editorimage textures/xpadeffect/x_support1
  290.         surfaceparm trans
  291.     surfaceparm playerclip
  292.        surfaceparm nonsolid
  293.     cull none
  294.         nopicmip
  295.     {
  296.         map textures/xpadeffect/x_support1
  297.         blendFunc GL_ONE GL_ZERO
  298.         alphaFunc GE128
  299.         depthWrite
  300.         rgbGen identity
  301.     }
  302.     {
  303.         map $lightmap
  304.         rgbGen identity
  305.         blendFunc GL_DST_COLOR GL_ZERO
  306.         depthFunc equal
  307.     }
  308. }
  309.  
  310. textures/xpadeffect/x_support2
  311. {
  312.         qer_editorimage textures/xpadeffect/x_support2
  313.         surfaceparm trans
  314.     surfaceparm playerclip
  315.        surfaceparm nonsolid
  316.     cull none
  317.         nopicmip
  318.     {
  319.         map textures/xpadeffect/x_support2
  320.         blendFunc GL_ONE GL_ZERO
  321.         alphaFunc GE128
  322.         depthWrite
  323.         rgbGen identity
  324.     }
  325.     {
  326.         map $lightmap
  327.         rgbGen identity
  328.         blendFunc GL_DST_COLOR GL_ZERO
  329.         depthFunc equal
  330.     }
  331. }
  332.  
  333. textures/xpadeffect/x_support3
  334. {
  335.         qer_editorimage textures/xpadeffect/x_support3
  336.         surfaceparm trans
  337.     surfaceparm playerclip
  338.        surfaceparm nonsolid
  339.     cull none
  340.         nopicmip
  341.     {
  342.         map textures/xpadeffect/x_support3
  343.         blendFunc GL_ONE GL_ZERO
  344.         alphaFunc GE128
  345.         depthWrite
  346.         rgbGen identity
  347.     }
  348.     {
  349.         map $lightmap
  350.         rgbGen identity
  351.         blendFunc GL_DST_COLOR GL_ZERO
  352.         depthFunc equal
  353.     }
  354. }
  355.  
  356. textures/xpadeffect/x_support4
  357. {
  358.         qer_editorimage textures/xpadeffect/x_support4
  359.         surfaceparm trans
  360.     surfaceparm playerclip
  361.        surfaceparm nonsolid
  362.     cull none
  363.         nopicmip
  364.     {
  365.         map textures/xpadeffect/x_support4
  366.         blendFunc GL_ONE GL_ZERO
  367.         alphaFunc GE128
  368.         depthWrite
  369.         rgbGen identity
  370.     }
  371.     {
  372.         map $lightmap
  373.         rgbGen identity
  374.         blendFunc GL_DST_COLOR GL_ZERO
  375.         depthFunc equal
  376.     }
  377. }
  378.  
  379. textures/xpadeffect/tin
  380. {
  381.     //deformVertexes wave 100 sin 3 2 .1 3
  382.     {
  383.     rgbGen identity
  384.     map $lightmap
  385.     }
  386.     {
  387.     map textures/xpadeffect/tin.tga
  388.     blendFunc GL_DST_COLOR GL_SRC_ALPHA
  389.     rgbGen identity
  390.     alphaGen lightingSpecular
  391.     }
  392.     {
  393.     map textures/xpadeffect/tinfx
  394.         tcgen environment
  395.         blendFunc GL_ONE GL_ONE
  396.     rgbGen identity
  397.     }
  398.        
  399.     {
  400.     map textures/xpadeffect/tin
  401.     //blendFunc GL_ONE GL_ONE
  402.         blendFunc GL_DST_COLOR GL_ZERO
  403.     rgbGen identity
  404.     }
  405. }       
  406.  
  407.  
  408. textures/xpadeffect/beam
  409. {
  410.         surfaceparm trans    
  411.         surfaceparm nomarks    
  412.         surfaceparm nonsolid
  413.     q3map_nolightmap
  414.     cull none
  415.     //surfaceparm nomipmaps
  416.         //nopicmip
  417.     {
  418.         map textures/xpadeffect/beam
  419.                 tcMod Scroll .3 0
  420.                 blendFunc add
  421.         }
  422.         // {
  423.     //    map textures/xpadeffect/beam
  424.         //        tcMod Scroll -.3 0
  425.         //        blendFunc GL_ONE GL_ONE
  426.         // }
  427.      
  428. }
  429.  
  430. textures/xpadeffect/beam02
  431. {
  432.         surfaceparm trans    
  433.         surfaceparm nomarks    
  434.         surfaceparm nonsolid
  435.     q3map_nolightmap
  436.     cull none
  437.     //surfaceparm nomipmaps
  438.         //nopicmip
  439.     {
  440.         map textures/xpadeffect/beam02
  441.                 tcMod Scroll .3 0
  442.                 blendFunc add
  443.         }
  444.         // {
  445.     //    map textures/xpadeffect/beam02
  446.         //        tcMod Scroll -.3 0
  447.         //        blendFunc GL_ONE GL_ONE
  448.         // }
  449.      
  450. }
  451.  
  452. textures/xpadeffect/beam03
  453. {
  454.         surfaceparm trans    
  455.         surfaceparm nomarks    
  456.         surfaceparm nonsolid
  457.     q3map_nolightmap
  458.     cull none
  459.     //surfaceparm nomipmaps
  460.         //nopicmip
  461.     {
  462.         map textures/xpadeffect/beam03
  463.                 tcMod Scroll .3 0
  464.                 blendFunc add
  465.         }
  466.         // {
  467.     //    map textures/xpadeffect/beam03
  468.         //        tcMod Scroll -.3 0
  469.         //        blendFunc GL_ONE GL_ONE
  470.         // }
  471.      
  472. }
  473.  
  474. textures/xpadeffect/beam4
  475. {
  476.         surfaceparm trans    
  477.         surfaceparm nomarks    
  478.         surfaceparm nonsolid
  479.     q3map_nolightmap
  480.     cull none
  481.     //surfaceparm nomipmaps
  482.         //nopicmip
  483.     {
  484.         map textures/xpadeffect/beam4
  485.                 tcMod Scroll .3 0
  486.                 blendFunc add
  487.         }
  488.         // {
  489.     //    map textures/xpadeffect/beam4
  490.         //        tcMod Scroll -.3 0
  491.         //        blendFunc GL_ONE GL_ONE
  492.         // }
  493.      
  494. }
  495.  
  496. textures/xpadeffect/beam5
  497. {
  498.         surfaceparm trans    
  499.         surfaceparm nomarks    
  500.         surfaceparm nonsolid
  501.     q3map_nolightmap
  502.     cull none
  503.     //surfaceparm nomipmaps
  504.         //nopicmip
  505.     {
  506.         map textures/xpadeffect/beam5
  507.                 tcMod Scroll .3 0
  508.                 blendFunc add
  509.         }
  510.         // {
  511.     //    map textures/xpadeffect/beam5
  512.         //        tcMod Scroll -.3 0
  513.         //        blendFunc GL_ONE GL_ONE
  514.         // }
  515.      
  516. }
  517.  
  518. textures/xpadeffect/puzzleb_pad
  519. {
  520.     qer_editorimage    textures/doomgiver/comp_panel_alpha
  521.     cull    disable
  522.     {
  523.         map textures/xpadeffect/comp_panelpad
  524.         blendFunc GL_ONE GL_ZERO
  525.         rgbGen identity
  526.     }
  527.     {
  528.         animMap 1 textures/test/darkgrey textures/test/grey 
  529.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  530.         rgbGen const ( 0.000000 0.000000 1.000000 )
  531.     }
  532.     {
  533.         animMap 1 textures/doomgiver/comp_panel_flash gfx/colors/black 
  534.         blendFunc GL_ONE GL_ONE
  535.         rgbGen wave square 0 1 0 1.6
  536.     }
  537.     {
  538.         map textures/doomgiver/comp_panel_alpha
  539.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  540.     }
  541.     {
  542.         map $lightmap
  543.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  544.     }
  545. }
  546.  
  547.  
  548. textures/xpadeffect/door1_pad
  549. {
  550.     qer_editorimage    textures/xpadeffect/door1b
  551.     {
  552.         map $lightmap
  553.     }
  554.     {
  555.         map textures/xpadeffect/door1b
  556.         blendFunc GL_DST_COLOR GL_ZERO
  557.     }
  558.     {
  559.         map textures/xpadeffect/door1_green
  560.         blendFunc GL_ONE GL_ONE
  561.         rgbGen wave sin 1 0.05 0 5
  562.     }
  563. }
  564.  
  565.  
  566. textures/xpadeffect/kylie
  567. {
  568.         qer_editorimage textures/xpadeffect/kylie
  569.         surfaceparm trans
  570.     surfaceparm playerclip
  571.        surfaceparm nonsolid
  572.     cull none
  573.         nopicmip
  574.     {
  575.         map textures/xpadeffect/kylie
  576.         blendFunc GL_ONE GL_ZERO
  577.         alphaFunc GE128
  578.         depthWrite
  579.         rgbGen identity
  580.     }
  581.     {
  582.         map $lightmap
  583.         rgbGen identity
  584.         blendFunc GL_DST_COLOR GL_ZERO
  585.         depthFunc equal
  586.     }
  587. }
  588.  
  589. textures/xpadeffect/heavydoor_open
  590. {
  591.     qer_editorimage    textures/xpadeffect/heavy_door
  592.     {
  593.         map $lightmap
  594.     }
  595.     {
  596.         map textures/xpadeffect/heavy_door
  597.         blendFunc GL_DST_COLOR GL_ZERO
  598.     }
  599.     {
  600.         map textures/xpadeffect/heavy_doorgreen
  601.         blendFunc GL_ONE GL_ONE
  602.         rgbGen wave sin 1 0.05 0 5
  603.     }
  604. }
  605.  
  606. textures/xpadeffect/heavydoor_closed
  607. {
  608.     qer_editorimage    textures/xpadeffect/heavy_door
  609.     {
  610.         map $lightmap
  611.     }
  612.     {
  613.         map textures/xpadeffect/heavy_door
  614.         blendFunc GL_DST_COLOR GL_ZERO
  615.     }
  616.     {
  617.         map textures/xpadeffect/heavy_doorred
  618.         blendFunc GL_ONE GL_ONE
  619.         rgbGen wave sin 1 0.05 0 5
  620.     }
  621. }