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

  1. textures/blasted/jh_blstfrm1
  2. {
  3.     qer_keyword window
  4.     qer_keyword damaged
  5.     qer_keyword concrete
  6.     qer_keyword masked
  7.     surfaceparm rock
  8.     surfaceParm trans
  9.     cull none
  10.     sort banner
  11.     nopicmip
  12.     {
  13.         map textures/blasted/jh_blstfrm1.tga
  14.         alphaFunc GE128
  15.         depthWrite
  16.     nextbundle
  17.         map $lightmap
  18.     }
  19. }
  20.  
  21. textures/blasted/jh_concwallwin1
  22. {
  23.     qer_keyword wall
  24.     qer_keyword window
  25.     qer_keyword damaged
  26.     qer_keyword concrete
  27.     surfaceparm rock
  28.     {
  29.         map textures/mohcommon/environ_puddle.tga
  30.         tcGen environment
  31.     }
  32.     {
  33.         map textures/blasted/jh_concwinwall1.tga
  34.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  35.     }
  36.     {
  37.         map $lightmap
  38.         blendFunc GL_DST_COLOR GL_ZERO
  39.         rgbGen identity
  40.     }
  41. }
  42.  
  43. textures/blasted/jh_concwallwin1a
  44. {
  45.     qer_keyword window
  46.     qer_keyword wall
  47.     qer_keyword damaged
  48.     qer_keyword concrete
  49.     surfaceparm rock
  50.     {
  51.         map textures/mohcommon/environ_puddle.tga
  52.         tcGen environment
  53.     }
  54.     {
  55.         map textures/blasted/jh_concwallwin1a.tga
  56.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  57.     }
  58.     {
  59.         map $lightmap
  60.         blendFunc GL_DST_COLOR GL_ZERO
  61.         rgbGen identity
  62.     }
  63. }
  64.  
  65. textures/blasted/jh_concwallwin1b
  66. {
  67.     qer_keyword window
  68.     qer_keyword wall
  69.     qer_keyword damaged
  70.     qer_keyword concrete
  71.     surfaceparm rock
  72.     {
  73.         map textures/mohcommon/environ_puddle.tga
  74.         tcGen environment
  75.     }
  76.     {
  77.         map textures/blasted/jh_concwallwin1b.tga
  78.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  79.     }
  80.     {
  81.         map $lightmap
  82.         blendFunc GL_DST_COLOR GL_ZERO
  83.         rgbGen identity
  84.     }
  85. }
  86.  
  87. textures/blasted/jh_concwallwin1c
  88. {
  89.     qer_keyword window
  90.     qer_keyword wall
  91.     qer_keyword damaged
  92.     qer_keyword concrete
  93.     surfaceparm rock
  94.     {
  95.         map textures/blasted/jh_concwallwin1c.tga
  96.         rgbGen identity
  97.         depthWrite
  98.     }
  99.     {
  100.         map $lightmap
  101.         blendFunc GL_DST_COLOR GL_ZERO
  102.         rgbGen identity
  103.         depthFunc equal
  104.     }
  105. }
  106.  
  107. textures/blasted/jh_concwallwin1d
  108. {
  109.     qer_keyword window
  110.     qer_keyword wall
  111.     qer_keyword damaged
  112.     qer_keyword concrete
  113.     surfaceparm rock
  114.     {
  115.         map textures/blasted/jh_concwallwin1d.tga
  116.         rgbGen identity
  117.         depthWrite
  118.     }
  119.     {
  120.         map $lightmap
  121.         blendFunc GL_DST_COLOR GL_ZERO
  122.         rgbGen identity
  123.         depthFunc equal
  124.     }
  125. }
  126.  
  127. textures/blasted/jh_concwallwin2
  128. {
  129.     qer_keyword window
  130.     qer_keyword wall
  131.     qer_keyword concrete
  132.     surfaceparm rock
  133.     {
  134.         map textures/mohcommon/environ_puddle.tga
  135.         tcGen environment
  136.     }
  137.     {
  138.         map textures/blasted/jh_concwallwin2.tga
  139.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  140.     }
  141.     {
  142.         map $lightmap
  143.         blendFunc filter
  144.         rgbGen identity
  145.         depthwrite
  146.     }
  147. }
  148.  
  149. textures/blasted/jh_concwallwin2a
  150. {
  151.     qer_keyword window
  152.     qer_keyword wall
  153.     qer_keyword concrete
  154.     surfaceparm rock
  155.     {
  156.         map textures/blasted/jh_concwallwin2a.tga
  157.         rgbGen identity
  158.         depthWrite
  159.     }
  160.     {
  161.         map $lightmap
  162.         blendFunc GL_DST_COLOR GL_ZERO
  163.         rgbGen identity
  164.         depthFunc equal
  165.     }
  166. }
  167.  
  168. textures/blasted/jh_concwallwin2b
  169. {
  170.     qer_keyword wall
  171.     qer_keyword concrete
  172.     surfaceparm rock
  173.     {
  174.         map textures/blasted/jh_concwallwin2b.tga
  175.         rgbGen identity
  176.         depthWrite
  177.     }
  178.     {
  179.         map $lightmap
  180.         blendFunc GL_DST_COLOR GL_ZERO
  181.         rgbGen identity
  182.         depthFunc equal
  183.     }
  184. }
  185.  
  186. textures/blasted/jh_concwallwin2c
  187. {
  188.     qer_keyword damaged
  189.     qer_keyword wall
  190.     qer_keyword concrete
  191.     surfaceparm rock
  192.     {
  193.         map textures/blasted/jh_concwallwin2c.tga
  194.         rgbGen identity
  195.         depthWrite
  196.     }
  197.     {
  198.         map $lightmap
  199.         blendFunc GL_DST_COLOR GL_ZERO
  200.         rgbGen identity
  201.         depthFunc equal
  202.     }
  203. }
  204.  
  205. textures/blasted/jh_concwallwin2d
  206. {
  207.     qer_keyword wall
  208.     qer_keyword damaged
  209.     qer_keyword concrete
  210.     surfaceparm rock
  211.     {
  212.         map textures/blasted/jh_concwallwin2d.tga
  213.         rgbGen identity
  214.         depthWrite
  215.     }
  216.     {
  217.         map $lightmap
  218.         blendFunc GL_DST_COLOR GL_ZERO
  219.         rgbGen identity
  220.         depthFunc equal
  221.     }
  222. }
  223.  
  224. textures/blasted/jh_concwallwin2e
  225. {
  226.     qer_keyword wall
  227.     qer_keyword damaged
  228.     qer_keyword concrete
  229.     surfaceparm rock
  230.     {
  231.         map textures/blasted/jh_concwallwin2e.tga
  232.         rgbGen identity
  233.         depthWrite
  234.     }
  235.     {
  236.         map $lightmap
  237.         blendFunc GL_DST_COLOR GL_ZERO
  238.         rgbGen identity
  239.         depthFunc equal
  240.     }
  241. }
  242.  
  243. textures/blasted/jh_concwallwin2f
  244. {
  245.     qer_keyword wall
  246.     qer_keyword damaged
  247.     qer_keyword concrete
  248.     surfaceparm rock
  249.     {
  250.         map textures/blasted/jh_concwallwin2f.tga
  251.         rgbGen identity
  252.         depthWrite
  253.     }
  254.     {
  255.         map $lightmap
  256.         blendFunc GL_DST_COLOR GL_ZERO
  257.         rgbGen identity
  258.         depthFunc equal
  259.     }
  260. }
  261.  
  262. textures/blasted/jh_concwallwin2g
  263. {
  264.     qer_keyword wall
  265.     qer_keyword damaged
  266.     qer_keyword concrete
  267.     surfaceparm rock
  268.     {
  269.         map textures/blasted/jh_concwallwin2g.tga
  270.         rgbGen identity
  271.         depthWrite
  272.     }
  273.     {
  274.         map $lightmap
  275.         blendFunc GL_DST_COLOR GL_ZERO
  276.         rgbGen identity
  277.         depthFunc equal
  278.     }
  279. }
  280.  
  281. textures/blasted/jh_concwallwin2h
  282. {
  283.     qer_keyword wall
  284.     qer_keyword damaged
  285.     qer_keyword concrete
  286.     surfaceparm rock
  287.     {
  288.         map textures/blasted/jh_concwallwin2h.tga
  289.         rgbGen identity
  290.         depthWrite
  291.     }
  292.     {
  293.         map $lightmap
  294.         blendFunc GL_DST_COLOR GL_ZERO
  295.         rgbGen identity
  296.         depthFunc equal
  297.     }
  298. }
  299.  
  300. textures/blasted/jh_concwallwin2i
  301. {
  302.     qer_keyword window
  303.     qer_keyword wall
  304.     qer_keyword damaged
  305.     qer_keyword concrete
  306.     surfaceparm rock
  307.     {
  308.         map textures/mohcommon/environ_puddle.tga
  309.         tcGen environment
  310.     }
  311.     {
  312.         map textures/blasted/jh_concwallwin2i.tga
  313.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  314.     }
  315.     {
  316.         map $lightmap
  317.         blendFunc GL_DST_COLOR GL_ZERO
  318.         rgbGen identity
  319.     }
  320. }
  321.  
  322. textures/blasted/jh_concwallwin2j
  323. {
  324.     qer_keyword wall
  325.     qer_keyword damaged
  326.     qer_keyword concrete
  327.     surfaceparm rock
  328.     {
  329.         map textures/blasted/jh_concwallwin2j.tga
  330.         rgbGen identity
  331.         depthWrite
  332.     }
  333.     {
  334.         map $lightmap
  335.         blendFunc GL_DST_COLOR GL_ZERO
  336.         rgbGen identity
  337.         depthFunc equal
  338.     }
  339. }
  340.  
  341. textures/blasted/jh_concwallwin2k
  342. {
  343.     qer_keyword wall
  344.     qer_keyword damaged
  345.     qer_keyword concrete
  346.     surfaceparm rock
  347.     {
  348.         map textures/blasted/jh_concwallwin2k.tga
  349.         rgbGen identity
  350.         depthWrite
  351.     }
  352.     {
  353.         map $lightmap
  354.         blendFunc GL_DST_COLOR GL_ZERO
  355.         rgbGen identity
  356.         depthFunc equal
  357.     }
  358. }
  359.  
  360. textures/blasted/dday_bunker_wall1bdamsml
  361. {
  362.     qer_keyword wall
  363.     qer_keyword concrete
  364.     surfaceparm rock
  365.     {
  366.         map textures/BLASTED/dday_bunker_wall1bdamsml.tga
  367.         rgbGen identity
  368.         depthWrite
  369.     }
  370.     {
  371.         map $lightmap
  372.         blendFunc GL_DST_COLOR GL_ZERO
  373.         rgbGen identity
  374.         depthFunc equal
  375.     }
  376. }
  377.  
  378. textures/blasted/dday_bunker_wall1bsml
  379. {
  380.     qer_keyword wall
  381.     qer_keyword concrete
  382.     surfaceparm rock
  383.     {
  384.         map textures/BLASTED/dday_bunker_wall1bsml.tga
  385.         rgbGen identity
  386.         depthWrite
  387.     }
  388.     {
  389.         map $lightmap
  390.         blendFunc GL_DST_COLOR GL_ZERO
  391.         rgbGen identity
  392.         depthFunc equal
  393.     }
  394. }
  395.  
  396. textures/blasted/dday_bunker_wall1cdamsml
  397. {
  398.     qer_keyword wall
  399.     qer_keyword concrete
  400.     surfaceparm rock
  401.     {
  402.         map textures/BLASTED/dday_bunker_wall1cdamsml.tga
  403.         rgbGen identity
  404.         depthWrite
  405.     }
  406.     {
  407.         map $lightmap
  408.         blendFunc GL_DST_COLOR GL_ZERO
  409.         rgbGen identity
  410.         depthFunc equal
  411.     }
  412. }
  413.  
  414. textures/blasted/dday_bunker_wall1crkdsml
  415. {
  416.     qer_keyword wall
  417.     qer_keyword concrete
  418.     surfaceparm rock
  419.     {
  420.         map textures/BLASTED/dday_bunker_wall1crkdsml.tga
  421.         rgbGen identity
  422.         depthWrite
  423.     }
  424.     {
  425.         map $lightmap
  426.         blendFunc GL_DST_COLOR GL_ZERO
  427.         rgbGen identity
  428.         depthFunc equal
  429.     }
  430. }
  431.  
  432. textures/blasted/dday_bunker_wall1csml
  433. {
  434.     qer_keyword wall
  435.     qer_keyword concrete
  436.     surfaceparm rock
  437.     {
  438.         map textures/BLASTED/dday_bunker_wall1csml.tga
  439.         rgbGen identity
  440.         depthWrite
  441.     }
  442.     {
  443.         map $lightmap
  444.         blendFunc GL_DST_COLOR GL_ZERO
  445.         rgbGen identity
  446.         depthFunc equal
  447.     }
  448. }
  449.  
  450. textures/blasted/rebar_ww2
  451. {
  452.     qer_keyword pipe
  453.     qer_keyword metal
  454.     qer_keyword masked
  455.     surfaceParm metal
  456.     surfaceParm trans
  457.     surfaceParm fence
  458.     qer_editorimage textures/blasted/rebar_ww2.tga
  459.     cull none
  460.     nopicmip
  461.     {
  462.         map textures/blasted/rebar_ww2.tga
  463.         alphaFunc GE128
  464.         depthWrite
  465.     nextbundle
  466.         map $lightmap
  467.     }
  468. }
  469.  
  470. // Omaha beach scene top-away from beach
  471. textures/blasted/grassbrdr_set3_damage
  472. {
  473.     qer_keyword terrain
  474.     qer_keyword m3
  475.     qer_keyword dirt
  476.     surfaceParm dirt
  477.     {
  478.         clampmap textures/blasted/grassbrdr_set3_damage.tga
  479.         rgbGen identity
  480.         depthWrite
  481.     }
  482.     {
  483.         map $lightmap
  484.         blendFunc GL_DST_COLOR GL_ZERO
  485.         rgbGen identity
  486.         depthFunc equal
  487.     }
  488. }
  489.  
  490. textures/blasted/grassbrdr_set3_damage_noclamp
  491. {
  492.     qer_editorimage textures/blasted/grassbrdr_set3_damage.tga
  493.     qer_keyword terrain
  494.     qer_keyword m3
  495.     qer_keyword dirt
  496.     surfaceParm dirt
  497.     {
  498.         map textures/blasted/grassbrdr_set3_damage.tga
  499.         rgbGen identity
  500.         depthWrite
  501.     }
  502.     {
  503.         map $lightmap
  504.         blendFunc GL_DST_COLOR GL_ZERO
  505.         rgbGen identity
  506.         depthFunc equal
  507.     }
  508. }
  509.  
  510. // Omaha beach scene beachside-rubble2cc
  511. textures/blasted/grassbrdr_set3_damage2
  512. {
  513.     qer_keyword terrain
  514.     qer_keyword m2
  515.     qer_keyword dirt
  516.     surfaceParm dirt
  517.     {
  518.         clampmap textures/blasted/grassbrdr_set3_damage2.tga
  519.         rgbGen identity
  520.         depthWrite
  521.     }
  522.     {
  523.         map $lightmap
  524.         blendFunc GL_DST_COLOR GL_ZERO
  525.         rgbGen identity
  526.         depthFunc equal
  527.     }
  528.  
  529. textures/blasted/grassbrdr_set4_damage2
  530. {
  531.     qer_keyword terrain
  532.     qer_keyword m2
  533.     qer_keyword dirt
  534.     surfaceParm dirt
  535.     {
  536.         clampmap textures/blasted/grassbrdr_set4_damage2.tga
  537.         rgbGen identity
  538.         depthWrite
  539.     }
  540.     {
  541.         map $lightmap
  542.         blendFunc GL_DST_COLOR GL_ZERO
  543.         rgbGen identity
  544.         depthFunc equal
  545.     }
  546. }
  547.  
  548. //used in bocage
  549. textures/blasted/grassbrdr_set4_blast
  550. {
  551.     qer_keyword terrain
  552.     qer_keyword m3
  553.     qer_keyword dirt
  554.     surfaceParm dirt
  555.     {
  556.         clampmap textures/blasted/grassbrdr_set4_blast.tga
  557.         rgbGen identity
  558.         depthWrite
  559.     }
  560.     {
  561.         map $lightmap
  562.         blendFunc GL_DST_COLOR GL_ZERO
  563.         rgbGen identity
  564.         depthFunc equal
  565.     }
  566.  
  567. //this is the non clampmapped version of the above
  568. textures/blasted/grassbrdr_set4_blastnclmp
  569. {
  570.     qer_keyword terrain
  571.     qer_keyword m3
  572.     qer_keyword dirt
  573.     surfaceParm dirt
  574.     {
  575.         map textures/blasted/grassbrdr_set4_blast.tga
  576.         rgbGen identity
  577.         depthWrite
  578.     }
  579.     {
  580.         map $lightmap
  581.         blendFunc GL_DST_COLOR GL_ZERO
  582.         rgbGen identity
  583.         depthFunc equal
  584.     }
  585.  
  586.  
  587.  
  588. textures/blasted/bunkerdoor2
  589. {
  590.     qer_keyword door
  591.     qer_keyword metal
  592.     surfaceParm metal
  593.     {
  594.         map textures/blasted/bunkerdoor2.tga
  595.         rgbGen identity
  596.         depthWrite
  597.     }
  598.     {
  599.         map $lightmap
  600.         blendFunc GL_DST_COLOR GL_ZERO
  601.         rgbGen identity
  602.         depthFunc equal
  603.     }
  604.  
  605. textures/blasted/bunkerdoor2a
  606. {
  607.     qer_keyword door
  608.     qer_keyword metal
  609.     surfaceParm metal
  610.     {
  611.         map textures/blasted/bunkerdoor2a.tga
  612.         rgbGen identity
  613.         depthWrite
  614.     }
  615.     {
  616.         map $lightmap
  617.         blendFunc GL_DST_COLOR GL_ZERO
  618.         rgbGen identity
  619.         depthFunc equal
  620.     }
  621.  
  622. textures/blasted/bunkerdoor3
  623. {
  624.     qer_keyword door
  625.     qer_keyword metal
  626.     surfaceParm metal
  627.     {
  628.         map textures/blasted/bunkerdoor3.tga
  629.         rgbGen identity
  630.         depthWrite
  631.     }
  632.     {
  633.         map $lightmap
  634.         blendFunc GL_DST_COLOR GL_ZERO
  635.         rgbGen identity
  636.         depthFunc equal
  637.     }
  638.  
  639. textures/blasted/bunkerdoor4
  640. {
  641.     qer_keyword door
  642.     qer_keyword metal
  643.     surfaceParm metal
  644.     {
  645.         map textures/blasted/bunkerdoor4.tga
  646.         rgbGen identity
  647.         depthWrite
  648.     }
  649.     {
  650.         map $lightmap
  651.         blendFunc GL_DST_COLOR GL_ZERO
  652.         rgbGen identity
  653.         depthFunc equal
  654.     }
  655.  
  656.  
  657.  
  658.  
  659.  
  660.