home *** CD-ROM | disk | FTP | other *** search
/ Net Power 2000 #2 / NetCD2.iso / Demogame / Quake3 / q3ademo.exe / Main / pak0.pk3 / scripts / base_trim.shader < prev    next >
Encoding:
Text File  |  1999-11-29  |  15.0 KB  |  735 lines

  1. textures/base_trim/pj_launcher
  2. {
  3.         {
  4.              map textures/base_trim/pj_launcher2.tga
  5.              tcmod scroll 0 2
  6.                  rgbGen identity
  7.         }      
  8.         {
  9.              map textures/base_trim/pj_launcher.tga
  10.              blendfunc blend
  11.                  rgbGen identity
  12.         }
  13.         {
  14.         map $lightmap
  15.                 blendFunc filter
  16.         rgbGen identity
  17.     }
  18. }
  19. textures/base_trim/pewter_nonsolid
  20. {
  21.     qer_editorimage textures/base_trim/dirty_pewter.tga
  22.     surfaceparm nonsolid
  23.     {
  24.         map $lightmap
  25.         rgbGen identity
  26.     
  27.     }
  28.     {
  29.         map textures/base_trim/dirty_pewter.tga
  30.         rgbGen identity
  31.         blendFunc GL_DST_COLOR GL_ZERO
  32.  
  33.     
  34.     }
  35. }
  36.  
  37. textures/base_trim/proto_comp
  38. {
  39.         {
  40.              map textures/base_trim/proto_comp2.tga
  41.              tcmod scroll 0 -.2
  42.              rgbGen wave sin .5 .5 0 3
  43.                  rgbGen identity
  44.         }
  45.         {
  46.              clampmap textures/sfx/console03.tga
  47.              tcmod rotate -33
  48.                  tcMod stretch sin .8 0 0 0
  49.                  blendfunc add
  50.                  rgbGen wave sin .6 0 0 0
  51.         }
  52.         {
  53.              clampmap textures/sfx/console02.tga
  54.              tcmod rotate -333
  55.                  tcMod stretch sin .8 0 0 0
  56.                  blendfunc add
  57.                  rgbGen wave sin .3 0 0 0
  58.         }
  59.         {
  60.              map textures/effects/tinfx2c.tga
  61.              tcGen environment
  62.                  blendfunc add
  63.                  rgbGen identity
  64.         }
  65.         {
  66.              map textures/base_trim/proto_comp.tga
  67.              blendfunc blend
  68.         }
  69.         {
  70.         map $lightmap
  71.                 blendFunc filter
  72.         rgbGen identity
  73.     }
  74. }
  75.  
  76. textures/base_trim/pewter_shiney
  77. {   
  78.  
  79.         {
  80.                 map textures/effects/tinfx.tga       
  81.                 tcGen environment
  82.                 rgbGen identity
  83.     }   
  84.         {
  85.         map textures/base_trim/pewter_shiney.tga
  86.                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  87.         rgbGen identity
  88.     } 
  89.         {
  90.         map $lightmap
  91.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  92.         rgbGen identity
  93.     }
  94. }
  95.  
  96. textures/base_trim/panel_glo
  97. {   
  98.     
  99.         {
  100.                 map textures/sfx/firegorre2.tga       
  101.                 
  102.                 tcMod turb 0 .6 0 0.06
  103.                 tcmod scale .53 .61
  104.                 tcmod scroll 0 4
  105.                 blendFunc GL_ONE GL_ZERO
  106.                 rgbGen wave sin 1 1 0 .1
  107.     }   
  108.         {
  109.         map textures/base_trim/panel_glo.tga
  110.                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  111.         rgbGen identity
  112.     } 
  113.         {
  114.         map $lightmap
  115.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  116.         rgbGen identity
  117.     }
  118. }
  119. textures/base_trim/spidertrim4
  120. {   
  121.     
  122.         {
  123.                 map textures/effects/tinfx.tga       
  124.                 tcGen environment
  125.                 rgbGen identity
  126.     }   
  127.         {
  128.         map textures/base_trim/spidertrim4.tga
  129.                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  130.         rgbGen identity
  131.     } 
  132.         {
  133.         map $lightmap
  134.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  135.         rgbGen identity
  136.     }
  137. }
  138. textures/base_trim/panel_shiny
  139. {   
  140.     
  141.         {
  142.                 map textures/effects/tinfx.tga       
  143.                 tcGen environment
  144.                 rgbGen identity
  145.     }   
  146.         {
  147.         map textures/base_trim/panel_shiny.tga
  148.                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  149.         rgbGen identity
  150.     } 
  151.         {
  152.         map $lightmap
  153.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  154.         rgbGen identity
  155.     }
  156. }
  157. textures/base_trim/spidertrim3
  158. {   
  159.     
  160.         {
  161.                 map textures/effects/tinfx.tga       
  162.                 tcGen environment
  163.                 rgbGen identity
  164.     }   
  165.         {
  166.         map textures/base_trim/spidertrim3.tga
  167.                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  168.         rgbGen identity
  169.     } 
  170.         {
  171.         map $lightmap
  172.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  173.         rgbGen identity
  174.     }
  175. }
  176. textures/base_trim/wires02
  177. {
  178.     cull disable
  179.     surfaceparm alphashadow
  180.     surfaceparm trans    
  181.         {
  182.                 map textures/base_trim/wires02.tga
  183.                 alphaFunc GE128
  184.         depthWrite
  185.         rgbGen vertex
  186.         }
  187.         {
  188.         map $lightmap
  189.         rgbGen identity
  190.         blendFunc filter
  191.         depthFunc equal
  192.     }
  193.  
  194.  
  195. }
  196. textures/base_trim/wires01
  197. {
  198.     cull disable
  199.     surfaceparm alphashadow
  200.     deformVertexes autoSprite2
  201.     surfaceparm trans    
  202.         {
  203.                 map textures/base_trim/wires01.tga
  204.                 alphaFunc GE128
  205.         depthWrite
  206.         rgbGen vertex
  207.         }
  208.         {
  209.         map $lightmap
  210.         rgbGen identity
  211.         blendFunc filter
  212.         depthFunc equal
  213.     }
  214.  
  215.  
  216. }
  217. textures/base_trim/wires01_ass
  218. {
  219.     cull disable
  220.     surfaceparm alphashadow
  221.     deformVertexes autoSprite2
  222.         {
  223.                 map textures/base_trim/wires01_ass.tga
  224.                 alphaFunc GE128
  225.         depthWrite
  226.         rgbGen vertex
  227.         }
  228.         {
  229.         map $lightmap
  230.         rgbGen identity
  231.         blendFunc filter
  232.         depthFunc equal
  233.     }
  234.  
  235.  
  236. }
  237. textures/base_trim/spiderbite
  238. {
  239.  
  240.         {
  241.         map textures/sfx/proto_zzztblu2.tga
  242.                 tcMod turb 0 .3 0 .2
  243.                 tcmod scroll 6 .7
  244.                 tcmod scale .4 1
  245.                 blendFunc GL_ONE GL_ZERO
  246.                 rgbGen identity
  247.     }
  248.         {
  249.             map textures/base_trim/spiderbite.tga
  250.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  251.                 tcMod stretch sin .8 0.4 0 .2
  252.                 tcmod scroll .3 0
  253.             rgbGen identity
  254.     }
  255.         {
  256.             map textures/base_trim/spiderbite.tga
  257.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  258.                 tcMod stretch sin .8 0.2 0 .1
  259.                 tcmod scroll -.5 0
  260.             rgbGen identity
  261.     }
  262.     {
  263.             map textures/base_trim/spiderbite.tga
  264.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  265.             rgbGen identity
  266.     }
  267.         {
  268.         map $lightmap
  269.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  270.         rgbGen identity
  271.     }
  272. }
  273. textures/base_trim/dark_tin2
  274. {   
  275.    
  276.         {
  277.                 map textures/effects/tinfx.tga       
  278.                 tcGen environment
  279.                 rgbGen vertex
  280.     }  
  281.         {
  282.         map textures/base_trim/dark_tin2.tga
  283.                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  284.         rgbGen identity
  285.     }
  286.         {
  287.         map $lightmap
  288.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  289.         rgbGen identity
  290.     }
  291.          
  292. }
  293. textures/base_trim/dark_tin2_trans
  294. {  
  295.     qer_editorimage textures/base_trim/dark_tin2
  296.     surfaceparm nonsolid
  297.    
  298.         {
  299.                 map textures/effects/tinfx.tga       
  300.                 tcGen environment
  301.                 rgbGen vertex
  302.     }  
  303.         {
  304.         map textures/base_trim/dark_tin2.tga
  305.                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  306.         rgbGen identity
  307.     }
  308.         {
  309.         map $lightmap
  310.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  311.         rgbGen identity
  312.     }
  313.          
  314. }
  315.  
  316. textures/base_trim/skull_monitor
  317. {   
  318.     
  319.         {
  320.                 map textures/base_trim/skull_monitor.tga 
  321.                 tcMod turb 0 .05 0 .2
  322.                 rgbGen identity
  323.     } 
  324.         { 
  325.                  map textures/sfx/text.tga
  326.                  blendFunc GL_ONE GL_ONE
  327.                  tcmod scroll 1 0
  328.                  rgbGen identity
  329.     }  
  330.         { 
  331.                  map textures/effects/tinfx2.tga
  332.                  blendFunc GL_ONE GL_ONE
  333.                  tcGen environment
  334.                  rgbGen identity
  335.     }  
  336.         {
  337.         map $lightmap
  338.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  339.         rgbGen identity
  340.     }
  341.          
  342. }
  343. textures/base_trim/deeprust_trans
  344. {
  345.     qer_editorimage textures/base_trim/deeprust.tga
  346.     surfaceparm nonsolid
  347.     {
  348.         map $lightmap
  349.         rgbGen identity
  350.     
  351.     }
  352.     {
  353.         map textures/base_trim/deeprust.tga
  354.         rgbGen identity
  355.         blendFunc GL_DST_COLOR GL_ZERO
  356.  
  357.     
  358.     }
  359. }
  360.  
  361. textures/base_trim/yellow_rustc
  362. {
  363.     
  364.     {
  365.         map textures/base_wall/chrome_env.tga
  366.         tcgen environment
  367.         tcmod scale .25 .25
  368.         rgbGen identity
  369.     }
  370.     {
  371.         map textures/base_trim/yellow_rustc.tga
  372.         blendFunc gl_one_minus_src_alpha gl_src_alpha
  373.     //    alphagen lightingspecular
  374.         rgbGen identity
  375.     }
  376.  
  377.     {
  378.         map $lightmap
  379.         blendfunc gl_dst_color gl_zero
  380.         rgbGen identity
  381.     }
  382.  
  383.     
  384.        
  385. }
  386.  
  387.  
  388. textures/base_trim/panelbrn010w
  389. {
  390.     q3map_lightimage textures/base_trim/panelbrn010wfx.tga
  391.     
  392.         {
  393.         map textures/base_trim/panelbrn010w.tga
  394.         }
  395.     
  396.         {
  397.         map textures/sfx/hologirl2.tga
  398.                 tcmod scale .4 .4
  399.                 tcmod scroll 6 2
  400.                 blendFunc GL_ONE GL_ONE
  401.                 rgbGen identity
  402.     }
  403.     {
  404.         map textures/base_trim/panelbrn010w.tga
  405.                 blendfunc blend
  406.         
  407.     }
  408.         {
  409.         map $lightmap
  410.         rgbGen identity
  411.         blendFunc filter
  412.     }
  413.        
  414. }
  415. textures/base_trim/pewter_spec
  416. {
  417.     {
  418.         rgbGen identity
  419.         map $lightmap
  420.     }
  421.     {
  422.         map textures/base_trim/pewter_spec.tga
  423.         blendFunc GL_DST_COLOR GL_SRC_ALPHA
  424.         rgbGen identity
  425.         alphaGen lightingSpecular
  426.     }
  427.       
  428. }
  429. textures/base_trim/tin
  430. {
  431.     //deformVertexes wave 100 sin 3 2 .1 3
  432.         {
  433.         rgbGen identity
  434.         map $lightmap
  435.     }
  436.     {
  437.         map textures/base_trim/tin.tga
  438.         blendFunc GL_DST_COLOR GL_SRC_ALPHA
  439.         rgbGen identity
  440.         alphaGen lightingSpecular
  441.     }
  442.         {
  443.         map textures/base_trim/tinfx.tga
  444.                 tcgen environment
  445.         blendFunc GL_ONE GL_ONE
  446.         rgbGen identity
  447.     }
  448.        
  449.         {
  450.         map textures/base_trim/tin.tga
  451.         //blendFunc GL_ONE GL_ONE
  452.                 blendFunc GL_DST_COLOR GL_ZERO
  453.         rgbGen identity
  454.     }
  455. }       
  456. textures/base_trim/dark_tin
  457. {
  458.     //deformVertexes wave 100 sin 3 2 .1 3
  459.         {
  460.         rgbGen identity
  461.         map $lightmap
  462.     }
  463.     {
  464.         map textures/base_trim/dark_tin.tga
  465.         blendFunc GL_DST_COLOR GL_SRC_ALPHA
  466.         rgbGen identity
  467.         alphaGen lightingSpecular
  468.     }
  469.         {
  470.         map textures/base_trim/tinfx.tga
  471.                 tcgen environment
  472.         blendFunc GL_ONE GL_ONE
  473.         rgbGen identity
  474.     }
  475.        
  476.         {
  477.         map textures/base_trim/dark_tin.tga
  478.         //blendFunc GL_ONE GL_ONE
  479.                 blendFunc GL_DST_COLOR GL_ZERO
  480.         rgbGen identity
  481.     }
  482.        
  483.               
  484. }
  485. textures/base_trim/techborder
  486. {
  487.     q3map_surfacelight 300    
  488.         q3map_lightimage textures/base_trim/techborder_fx.tga
  489.     {
  490.         map $lightmap
  491.         rgbGen identity
  492.     }
  493.     {
  494.         map textures/base_trim/techborder.tga
  495.         rgbGen identity
  496.         blendFunc GL_DST_COLOR GL_ZERO
  497.     }
  498.     {
  499.         map textures/base_trim/techborder_fx.tga
  500.                 //tcmod scale  .1 1
  501.                 tcmod scroll .1 0
  502.                 
  503.         blendfunc GL_ONE GL_ONE
  504.     }
  505.         {
  506.         map textures/base_trim/techborder_fx.tga
  507.                 tcmod scale  .1 1
  508.                 tcmod scroll .1 0
  509.                 
  510.         blendfunc GL_ONE GL_ONE
  511.     }
  512. }
  513. textures/base_trim/spiderbit
  514. {
  515.     q3map_lightimage textures/base_trim/spiderbit_fx.tga
  516.     q3map_surfacelight 100
  517.     
  518.         {
  519.         map $lightmap
  520.         rgbGen identity
  521.     }
  522.         {
  523.         map textures/base_trim/spiderbit.tga
  524.         blendfunc gl_dst_color gl_zero
  525.                 rgbGen identity
  526.     }    
  527.         {
  528.         map textures/base_trim/spiderbit_fx.tga
  529.         blendfunc GL_ONE GL_ONE
  530.                 rgbgen wave triangle .1 .5 0 7
  531.     }
  532.         
  533. }
  534. textures/base_trim/proto_fence
  535. {
  536.     surfaceparm trans        
  537.     cull none
  538.         nopicmip
  539.  
  540.     {
  541.         map textures/base_trim/proto_fence.tga
  542.         tcMod scale 3 3
  543.         blendFunc GL_ONE GL_ZERO
  544.         alphaFunc GE128
  545.         depthWrite
  546.         rgbGen identity
  547.     }
  548.     {
  549.         map $lightmap
  550.         rgbGen identity
  551.         blendFunc GL_DST_COLOR GL_ZERO
  552.         depthFunc equal
  553.     }
  554. }
  555. textures/base_trim/border11light
  556. {
  557.     q3map_surfacelight 500
  558.     Q3map_lightimage textures/base_trim/border11light.glow.tga    
  559.     {
  560.         map $lightmap
  561.         rgbGen identity
  562.     }
  563.     {
  564.         map textures/base_trim/border11light.tga
  565.         rgbGen identity
  566.         blendFunc GL_DST_COLOR GL_ZERO
  567.     }
  568.     {
  569.         map textures/base_trim/border11light.glow.tga
  570.         blendfunc GL_ONE GL_ONE
  571.         rgbgen wave sin .9 .1 0 10
  572.     }
  573. }
  574.  
  575. textures/base_trim/border11_250
  576. {
  577.     qer_editorimage textures/base_trim/border11light.tga
  578.     q3map_surfacelight 250
  579.     q3map_lightimage textures/base_trim/border11light.glow.tga    
  580.     {
  581.         map $lightmap
  582.         rgbGen identity
  583.     }
  584.     {
  585.         map textures/base_trim/border11light.tga
  586.         rgbGen identity
  587.         blendFunc GL_DST_COLOR GL_ZERO
  588.     }
  589.     {
  590.         map textures/base_trim/border11light.glow.tga
  591.         blendfunc GL_ONE GL_ONE
  592.         rgbgen wave sin .9 .1 0 10
  593.     }
  594. }
  595.  
  596. textures/base_trim/border12b
  597. {
  598.     q3map_surfacelight 1000    
  599.     {
  600.         map $lightmap
  601.         rgbGen identity
  602.     }
  603.     {
  604.         map textures/base_trim/border12b.tga
  605.         rgbGen identity
  606.         blendFunc GL_DST_COLOR GL_ZERO
  607.     }
  608.     {
  609.         map textures/base_trim/border12bfx.tga
  610.         blendfunc GL_ONE GL_ONE
  611.     }
  612. }
  613.  
  614. textures/base_trim/border12b_pj
  615. {
  616.     qer_editorimage textures/base_trim/border12b.tga
  617.     q3map_surfacelight 150    
  618.     q3map_lightimage textures/base_trim/border12bfx.tga    
  619.     {
  620.         map $lightmap
  621.         rgbGen identity
  622.     }
  623.     {
  624.         map textures/base_trim/border12b.tga
  625.         rgbGen identity
  626.         blendFunc GL_DST_COLOR GL_ZERO
  627.     }
  628.     {
  629.         map textures/base_trim/border12bfx.tga
  630.         blendfunc GL_ONE GL_ONE
  631.     }
  632. }
  633.  
  634. textures/base_trim/xborder12b
  635. {
  636.     qer_editorimage textures/base_trim/border12b.tga
  637.     q3map_surfacelight 100    
  638.     q3map_lightimage textures/base_trim/border12bfx.tga
  639.     {
  640.         map $lightmap
  641.         rgbGen identity
  642.     }
  643.     {
  644.         map textures/base_trim/border12b.tga
  645.         rgbGen identity
  646.         blendFunc GL_DST_COLOR GL_ZERO
  647.     }
  648.     {
  649.         map textures/base_trim/border12bfx.tga
  650.         blendfunc GL_ONE GL_ONE
  651.     }
  652. }
  653.  
  654.  
  655. textures/base_trim/drag_glass1
  656. {
  657. // ************************************************************
  658. // A reddish dragonish glass panel (temp)
  659. // ************************************************************
  660.     surfaceparm trans
  661.     surfaceparm nolightmap
  662.     {
  663.         map textures/base_trim/drag_glass1.tga
  664.         blendFunc GL_ONE_MINUS_DST_COLOR GL_ZERO
  665.     }
  666.     {
  667.         map textures/base_trim/drag_glass1.tga
  668.         alphaFunc LT128
  669.         blendfunc GL_DST_COLOR GL_ONE
  670.     }
  671. }
  672. textures/base_trim/electricwall    
  673. {
  674.     qer_editorimage textures/organics/wire02a_f.tga
  675.     light 1    
  676. q3map_surfacelight 400
  677.  
  678.     {
  679.         map $lightmap
  680.         rgbGen identity
  681.     }
  682.     {
  683.         map textures/organics/wire02a_f.tga
  684.         rgbGen identity
  685.         blendFunc GL_DST_COLOR GL_ZERO
  686.     }
  687.     {
  688.         map textures/organics/wire02a_f.tga
  689.         blendFunc GL_ONE GL_ONE
  690.     }
  691.     {
  692.         map textures/sfx/electric2.blend.tga
  693.         rgbGen wave sin 0.6 1 0 2
  694.     //    tcMod rotate 54
  695.         tcMod scroll 0.53 0.43
  696.         blendfunc GL_ONE GL_ONE
  697.     }
  698. }
  699. //**********************************************************
  700. //*    Electric wires with blue electical pattern dancing  *
  701. //*    upon it giving off blue light               *
  702. //*    Created: 4/12/98 by Paul Jaquays                    *
  703. //**********************************************************
  704. textures/base_trim/electric_blue
  705. {
  706.     qer_editorimage textures/base_trim/electricwall_blue.tga
  707.     q3map_lightimage textures/sfx/electric2.blend.tga
  708.     q3map_globaltexture    
  709.     q3map_surfacelight 200
  710.  
  711.     {
  712.         map $lightmap
  713.         rgbGen identity
  714.     }
  715.     {
  716.         map textures/base_trim/electricwall_blue.tga
  717.         tcMod scale 0.5 0.5
  718.         rgbGen identity
  719.         blendFunc GL_DST_COLOR GL_ZERO
  720.     }
  721.     {
  722.         map textures/base_trim/electricwall_blue.tga
  723.         blendFunc GL_ONE GL_ONE
  724.     }
  725.     {
  726.         map textures/sfx/electric2.blend.tga
  727.         rgbGen wave sin 0.6 1 0 2
  728.         tcMod scale 0.5 0.5
  729.         tcMod rotate 54
  730.         tcMod scroll 0.53 0.43
  731.         blendfunc GL_ONE GL_ONE
  732.     }
  733. }
  734.  
  735.