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

  1. textures/ctf/blue_telep
  2.         cull disable    
  3.         surfaceparm nomarks
  4.         surfaceparm trans
  5.         sort additive    
  6.  
  7.         {
  8.             
  9.             clampmap textures/ctf/blue_telep.tga
  10.         blendFunc add
  11.                 //depthWrite
  12.                 //tcMod stretch sin .9 0.1 0 .5
  13.                 tcmod rotate 327
  14.                 rgbGen identity
  15.     }
  16.         {
  17.             clampmap textures/ctf/blue_telep2.tga
  18.         blendFunc add
  19.                 //depthWrite
  20.                 //tcMod stretch sin .9 0.1 0 .1
  21.                 tcmod rotate -211
  22.                 rgbGen identity
  23.         }
  24.         {
  25.             clampmap textures/ctf/telep.tga
  26.         alphaFunc GE128
  27.                 depthWrite
  28.                 tcmod rotate 20
  29.             rgbGen identity
  30.     }
  31.         {
  32.             clampmap textures/ctf/telep.tga
  33.         alphaFunc GE128
  34.                 depthWrite
  35.                 tcMod stretch sin .7 0 0 0
  36.                 tcmod rotate -20
  37.                 rgbGen identity
  38.     }
  39.         {
  40.         map $lightmap
  41.         rgbGen identity
  42.         blendFunc GL_DST_COLOR GL_ZERO
  43.         depthFunc equal
  44.     }
  45.  
  46.  
  47.  
  48. }
  49. textures/ctf/red_telep
  50.         cull disable    
  51.         surfaceparm nomarks
  52.         surfaceparm trans
  53.  
  54.         {
  55.             
  56.             clampmap textures/ctf/red_telep.tga
  57.         blendFunc add
  58.                 //tcMod stretch sin .9 0.1 0 .5
  59.                 tcmod rotate 327
  60.                 rgbGen identity
  61.     }
  62.         {
  63.             clampmap textures/ctf/red_telep2.tga
  64.         blendFunc add
  65.                 //tcMod stretch sin .9 0.1 0 .1
  66.                 tcmod rotate -211
  67.                 rgbGen identity
  68.         }
  69.         {
  70.             clampmap textures/ctf/telep.tga
  71.         alphaFunc GE128
  72.                 tcmod rotate 20
  73.             rgbGen identity
  74.     }
  75.         {
  76.             clampmap textures/ctf/telep.tga
  77.         alphaFunc GE128
  78.                 tcMod stretch sin .7 0 0 0
  79.                 tcmod rotate -20
  80.                 rgbGen identity
  81.     }
  82.         {
  83.         map $lightmap
  84.         rgbGen identity
  85.         blendFunc GL_DST_COLOR GL_ZERO
  86.         depthFunc equal
  87.     }
  88.  
  89.  
  90.  
  91. }
  92.  
  93. textures/ctf/test2_trans
  94. {
  95.     qer_editorimage textures/ctf/test2.tga
  96.     surfaceparm nonsolid
  97.     {
  98.         map $lightmap
  99.         rgbGen identity
  100.     }
  101.     {
  102.         map textures/ctf/test2.tga
  103.         rgbGen identity
  104.         blendFunc GL_DST_COLOR GL_ZERO
  105.     }
  106.  
  107. }
  108.  
  109. textures/ctf/test2_r_trans
  110. {
  111.     qer_editorimage textures/ctf/test2_r.tga
  112.     surfaceparm nonsolid
  113.     {
  114.         map $lightmap
  115.         rgbGen identity
  116.     
  117.     }
  118.     {
  119.         map textures/ctf/test2_r.tga
  120.         rgbGen identity
  121.         blendFunc GL_DST_COLOR GL_ZERO
  122.     }
  123. }
  124.  
  125. textures/ctf/killblockctf_r
  126. {
  127.    qer_editorimage   textures/gothic_block/blocks15cgeomtrn.tga
  128.  
  129.         {
  130.         map textures/sfx/fire_ctfred.tga
  131.                 tcmod scroll 0 1
  132.                 tcMod turb 0 .25 0 1.6
  133.                 tcmod scale 2 2
  134.                 blendFunc GL_ONE GL_ZERO
  135.                 rgbGen identity
  136.     }
  137.         {
  138.             map textures/gothic_block/blocks18cgeomtrn2.tga
  139.         //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  140.                 blendFunc blend
  141.                 tcmod rotate 30
  142.                 tcMod stretch sin .8 0.2 0 .2
  143.             rgbGen identity
  144.     }
  145.         {
  146.             map textures/gothic_block/blocks18cgeomtrn2.tga
  147.         blendFunc blend
  148.                 tcmod rotate 20
  149.                 tcMod stretch sin .8 0.2 0 .1
  150.             rgbGen identity
  151.     }
  152.     {
  153.             map textures/gothic_block/blocks15cgeomtrn.tga
  154.         blendFunc blend
  155.             rgbGen identity
  156.     }
  157.         {
  158.         map $lightmap
  159.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  160.         rgbGen identity
  161.     }
  162. }
  163. textures/ctf/killblockctf_b
  164. {
  165.    qer_editorimage   textures/gothic_block/killblockgeomtrn.tga
  166.  
  167.         {
  168.         map textures/sfx/fire_ctfblue.tga
  169.                 tcmod scroll 0 1
  170.                 tcMod turb 0 .25 0 1.6
  171.                 tcmod scale 2 2
  172.                 blendFunc GL_ONE GL_ZERO
  173.                 rgbGen identity
  174.     }
  175.         {
  176.             map textures/gothic_block/blocks18cgeomtrn2.tga
  177.         //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  178.                 blendFunc blend
  179.                 tcmod rotate 30
  180.                 tcMod stretch sin .8 0.2 0 .2
  181.             rgbGen identity
  182.     }
  183.         {
  184.             map textures/gothic_block/blocks18cgeomtrn2.tga
  185.         blendFunc blend
  186.                 tcmod rotate 20
  187.                 tcMod stretch sin .8 0.2 0 .1
  188.             rgbGen identity
  189.     }
  190.     {
  191.             map textures/gothic_block/killblockgeomtrn.tga
  192.         blendFunc blend
  193.             rgbGen identity
  194.     }
  195.         {
  196.         map $lightmap
  197.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  198.         rgbGen identity
  199.     }
  200. }
  201. textures/ctf/ctf_arch_b_shiny
  202. {      
  203.      qer_editorimage textures/ctf/ctf_arch_b.tga
  204.        {
  205.         map textures/ctf/ctf_arch_b.tga
  206.                 blendFunc GL_ONE GL_ZERO
  207.         rgbGen identity
  208.     } 
  209.         {
  210.                 map textures/sfx/specular.tga
  211.                 blendFunc GL_ONE GL_ONE
  212.                 tcGen environment
  213.                 tcmod scale 10 10
  214.                 rgbGen identity
  215.     }  
  216.         {
  217.         map textures/ctf/ctf_arch_b.tga
  218.                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  219.         rgbGen identity
  220.     }
  221.         {
  222.         map $lightmap
  223.         blendfunc gl_dst_color gl_zero
  224.         rgbGen identity
  225.     }
  226.          
  227. }
  228.  
  229. textures/ctf/ctf_arch_r_shiny
  230. {
  231.     qer_editorimage textures/ctf/ctf_arch_r.tga      
  232.         {
  233.         map textures/ctf/ctf_arch_r.tga
  234.                 blendFunc GL_ONE GL_ZERO
  235.         rgbGen identity
  236.     } 
  237.         {
  238.                 map textures/sfx/specular.tga
  239.                 blendFunc GL_ONE GL_ONE
  240.                 tcGen environment
  241.                 tcmod scale 10 10
  242.                 rgbGen identity
  243.     }  
  244.         {
  245.         map textures/ctf/ctf_arch_r.tga
  246.                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  247.         rgbGen identity
  248.     }
  249.         {
  250.         map $lightmap
  251.         blendfunc gl_dst_color gl_zero
  252.         rgbGen identity
  253.     }
  254.          
  255. }
  256.  
  257. textures/gothic_door/door02_bred2_shiny
  258. {              
  259. qer_editorimage textures/gothic_door/door02_bred2.tga 
  260.     {
  261.         map $lightmap
  262.         rgbGen identity
  263.     }
  264.  
  265.  
  266.         {
  267.         map textures/gothic_door/door02_bred2.tga
  268.                 blendFunc GL_dst_color GL_SRC_ALPHA
  269.         alphagen lightingspecular
  270.         rgbGen identity
  271.     }
  272.  
  273. }
  274.  
  275.  
  276. textures/gothic_door/door02_eblue2_shiny
  277. {              
  278. qer_editorimage textures/gothic_door/door02_eblue2.tga
  279.  
  280.     {
  281.         map $lightmap
  282.         rgbGen identity
  283.     }
  284.  
  285.  
  286.         {
  287.         map textures/gothic_door/door02_eblue2.tga
  288.                 blendFunc GL_dst_color GL_SRC_ALPHA
  289.         alphagen lightingspecular
  290.         rgbGen identity
  291.     }
  292.  
  293. }
  294.  
  295.  
  296.  
  297. textures/ctf/red_scary4_d3fin
  298. {              
  299.  
  300.     {
  301.         map $lightmap
  302.         rgbGen identity
  303.     }
  304.  
  305.  
  306.         {
  307.         map textures/ctf/red_scary4_d3fin.tga
  308.                 blendFunc GL_dst_color GL_SRC_ALPHA
  309.         alphagen lightingspecular
  310.         rgbGen identity
  311.     }
  312.  
  313. }
  314.  
  315. textures/ctf/ctf_tower_bluefin_shiny
  316. {              
  317. qer_editorimage textures/ctf/ctf_tower_bluefin.tga 
  318.     {
  319.         map $lightmap
  320.         rgbGen identity
  321.     }
  322.  
  323.  
  324.         {
  325.         map textures/ctf/ctf_tower_bluefin.tga
  326.                 blendFunc GL_dst_color GL_SRC_ALPHA
  327.         alphagen lightingspecular
  328.         rgbGen identity
  329.     }
  330.  
  331. }
  332.  
  333.  
  334. textures/ctf/ctf_tower_redfin_shiny
  335. {              
  336. qer_editorimage textures/ctf/ctf_tower_redfin.tga 
  337.     {
  338.         map $lightmap
  339.         rgbGen identity
  340.     }
  341.  
  342.  
  343.         {
  344.         map textures/ctf/ctf_tower_redfin.tga
  345.                 blendFunc GL_dst_color GL_SRC_ALPHA
  346.         alphagen lightingspecular
  347.         rgbGen identity
  348.     }
  349.  
  350. }
  351.  
  352.  
  353. textures/ctf/metalbase09_bluekillblock_shiny
  354. {              
  355. qer_editorimage textures/ctf/metalbase09_bluekillblock.tga 
  356.     {
  357.         map $lightmap
  358.         rgbGen identity
  359.     }
  360.  
  361.  
  362.         {
  363.         map textures/ctf/metalbase09_bluekillblock.tga
  364.                 blendFunc GL_dst_color GL_SRC_ALPHA
  365.         alphagen lightingspecular
  366.         rgbGen identity
  367.     }
  368.  
  369. }
  370.  
  371. textures/ctf/red_scary4_cfin
  372. {              
  373.  
  374.     {
  375.         map $lightmap
  376.         rgbGen identity
  377.     }
  378.  
  379.  
  380.         {
  381.         map textures/ctf/red_scary4_cfin.tga
  382.                 blendFunc GL_dst_color GL_SRC_ALPHA
  383.         alphagen lightingspecular
  384.         rgbGen identity
  385.     }
  386.  
  387. }
  388.  
  389.  
  390. textures/ctf/red_scary4_csansfacefin
  391. {              
  392.  
  393.     {
  394.         map $lightmap
  395.         rgbGen identity
  396.     }
  397.  
  398.  
  399.         {
  400.         map textures/ctf/red_scary4_csansfacefin.tga
  401.                 blendFunc GL_dst_color GL_SRC_ALPHA
  402.         alphagen lightingspecular
  403.         rgbGen identity
  404.     }
  405.  
  406. }
  407.  
  408.  
  409.  
  410. textures/ctf/tallblue_2_fin
  411. {              
  412.  
  413.     {
  414.         map $lightmap
  415.         rgbGen identity
  416.     }
  417.  
  418.  
  419.         {
  420.         map textures/ctf/tallblue_2_fin.tga
  421.                 blendFunc GL_dst_color GL_SRC_ALPHA
  422.         alphagen lightingspecular
  423.         rgbGen identity
  424.     }
  425.  
  426. }
  427.  
  428. textures/ctf/tallblue_1L_fin_shiny
  429. {              
  430. qer_editorimage textures/ctf/tallblue_1L_fin.tga 
  431.     {
  432.         map $lightmap
  433.         rgbGen identity
  434.     }
  435.  
  436.  
  437.         {
  438.         map textures/ctf/tallblue_1R_fin.tga
  439.                 blendFunc GL_dst_color GL_SRC_ALPHA
  440.         alphagen lightingspecular
  441.         rgbGen identity
  442.     }
  443.  
  444. }
  445.  
  446. textures/ctf/tallblue_1R_fin_shiny
  447. {              
  448. qer_editorimage textures/ctf/tallblue_1R_fin.tga 
  449.     {
  450.         map $lightmap
  451.         rgbGen identity
  452.     }
  453.  
  454.  
  455.         {
  456.         map textures/ctf/tallblue_1R_fin.tga
  457.                 blendFunc GL_dst_color GL_SRC_ALPHA
  458.         alphagen lightingspecular
  459.         rgbGen identity
  460.     }
  461.  
  462. }
  463.  
  464.  
  465.  
  466. textures/ctf/tallblue_2b_fin
  467. {              
  468.  
  469.     {
  470.         map $lightmap
  471.         rgbGen identity
  472.     }
  473.  
  474.  
  475.         {
  476.         map textures/ctf/tallblue_2b_fin.tga
  477.                 blendFunc GL_dst_color GL_SRC_ALPHA
  478.         alphagen lightingspecular
  479.         rgbGen identity
  480.     }
  481.  
  482. }
  483.  
  484. textures/ctf/tallblue_4c_fin_shiny
  485. {              
  486. qer_editorimage textures/ctf/tallblue_4c_fin.tga 
  487.  
  488.     {
  489.         map $lightmap
  490.         rgbGen identity
  491.     }
  492.  
  493.  
  494.         {
  495.         map textures/ctf/tallblue_4c_fin.tga
  496.                 blendFunc GL_dst_color GL_SRC_ALPHA
  497.         alphagen lightingspecular
  498.         rgbGen identity
  499.     }
  500.  
  501. }
  502.  
  503.  
  504.  
  505.  
  506. textures/ctf/tallblue_4bsmall_fin
  507. {              
  508.  
  509.     {
  510.         map $lightmap
  511.         rgbGen identity
  512.     }
  513.  
  514.  
  515.         {
  516.         map textures/ctf/tallblue_4bsmall_fin.tga
  517.                 blendFunc GL_dst_color GL_SRC_ALPHA
  518.         alphagen lightingspecular
  519.         rgbGen identity
  520.     }
  521.  
  522. }
  523.  
  524.  
  525. textures/ctf/tallblue_5esmallb_fin
  526. {              
  527.  
  528.     {
  529.         map $lightmap
  530.         rgbGen identity
  531.     }
  532.  
  533.  
  534.         {
  535.         map textures/ctf/tallblue_5esmallb_fin.tga
  536.                 blendFunc GL_dst_color GL_SRC_ALPHA
  537.         alphagen lightingspecular
  538.         rgbGen identity
  539.     }
  540.  
  541. }
  542.  
  543. textures/ctf/ctf_blueflag
  544. {
  545.         tessSize 64
  546.         deformVertexes wave 194 sin 0 3 0 .4
  547.         deformVertexes normal .5 .1
  548.         surfaceparm nomarks
  549.         cull none
  550.         
  551.         {
  552.         map textures/ctf/ctf_blueflag.tga
  553.         rgbGen identity
  554.     }
  555.         {
  556.         map textures/effects/redflagmap.tga
  557.                 tcGen environment
  558.                 tcmod scale 9 3
  559.                 tcmod scroll .1 .7
  560.                 
  561.                 blendFunc GL_ONE GL_ONE
  562.                 rgbGen identity
  563.     }
  564.         {
  565.         map textures/ctf/ctf_blueflag.tga
  566.                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  567.         rgbGen identity
  568.     }
  569.         {
  570.         map $lightmap
  571.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  572.         rgbGen identity
  573.     }
  574.         {
  575.             map textures/sfx/shadow.tga
  576.                 tcGen environment 
  577.                 //blendFunc GL_ONE GL_ONE            
  578.                 blendFunc GL_DST_COLOR GL_ZERO
  579.                rgbGen identity
  580.     }
  581. }
  582. textures/ctf/ctf_redflag
  583. {
  584.         tessSize 64
  585.         deformVertexes wave 194 sin 0 3 0 .4
  586.         deformVertexes normal .3 .2
  587.         surfaceparm nomarks
  588.         cull none
  589.  
  590.         {
  591.         map textures/ctf/ctf_redflag.tga
  592.         rgbGen identity
  593.     }
  594.         {
  595.         map textures/effects/blueflagmap.tga
  596.                  tcGen environment
  597.                 tcmod scale 9 3
  598.                 tcmod scroll .1 .7
  599.                 
  600.                 blendFunc GL_ONE GL_ONE
  601.                 rgbGen identity
  602.     }
  603.         {
  604.         map textures/ctf/ctf_redflag.tga
  605.                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  606.         rgbGen identity
  607.     }
  608.         {
  609.         map $lightmap
  610.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  611.         rgbGen identity
  612.     }
  613.         {
  614.  
  615.             map textures/sfx/shadow.tga
  616.                 tcGen environment 
  617.                 //blendFunc GL_ONE GL_ONE            
  618.                 blendFunc GL_DST_COLOR GL_ZERO
  619.                rgbGen identity
  620.     }
  621. }
  622. powerups/redflag
  623. {
  624.     deformVertexes wave 100 sin 3 0 0 0
  625.     {
  626.         map textures/effects/redflagmap.tga
  627.         blendfunc GL_ONE GL_ONE
  628.         tcGen environment
  629.         tcMod turb 0 0.2 0 1
  630.     }
  631. }
  632.  
  633. powerups/blueflag
  634. {
  635.     deformVertexes wave 100 sin 3 0 0 0
  636.     {
  637.         map textures/effects/blueflagmap.tga
  638.         blendfunc GL_ONE GL_ONE
  639.         tcGen environment
  640.         tcMod turb 0 0.2 0 1
  641.     }
  642. }
  643.  
  644. sprites/friend
  645. {
  646.     nomipmaps
  647.     nopicmip
  648.     {
  649.         map sprites/friend1.tga
  650.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  651.     }
  652. }
  653.  
  654. sprites/foe
  655. {
  656.     nomipmaps
  657.     nopicmip
  658.     {
  659.         map sprites/foe2.tga
  660.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  661.     }
  662. }
  663.  
  664.