home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2001 February / maximum-cd-2001-02.iso / Team Arena / TeamArenaDemo.exe / Main / pak0.pk3 / scripts / liquid2.shader < prev    next >
Encoding:
Text File  |  2000-11-22  |  6.6 KB  |  347 lines

  1. textures/liquids2/calm_poollight2nt
  2.     {
  3.  
  4.  
  5.     
  6.         qer_editorimage textures/liquids/pool3d_4b.tga
  7.         q3map_globaltexture
  8.         qer_trans .75
  9.  
  10.         surfaceparm trans
  11.         surfaceparm nonsolid
  12.         surfaceparm water
  13.         surfaceparm nolightmap
  14.         q3map_surfacelight 50
  15.  
  16.         cull disable
  17.         
  18.     
  19.     
  20.         { 
  21.             map textures/liquids/pool3d_5c2.tga
  22.             blendFunc GL_dst_color GL_zero
  23.             rgbgen identity
  24.             tcmod scale .5 .5
  25.             tcmod transform 1.5 0 1.5 1 1 2
  26.             tcmod scroll -.05 .001
  27.         }
  28.     
  29.         { 
  30.             map textures/liquids/pool3d_6c2.tga
  31.             blendFunc GL_dst_color GL_zero
  32.             rgbgen identity
  33.             tcmod scale .5 .5
  34.             tcmod transform 0 1.5 1 1.5 2 1
  35.             tcmod scroll .025 -.001
  36.         }
  37.  
  38.         { 
  39.             map textures/liquids/pool3d_3c2.tga
  40.             blendFunc GL_dst_color GL_zero
  41.             rgbgen identity
  42.             tcmod scale .25 .5
  43.             tcmod scroll .001 .025
  44.         }
  45.         {
  46.             map textures/liquids/pool3d_4b2.tga
  47.             blendfunc add
  48.             tcmod scale .125 .125    
  49.             rgbgen identity
  50.         }
  51.  
  52.  
  53.         //    END
  54.     }
  55.  
  56. textures/liquids2/water_volume
  57.  
  58.     {
  59.         qer_editorimage textures/liquids/pool3d_3.tga
  60.         qer_trans .5
  61.         surfaceparm nodraw
  62.         surfaceparm trans
  63.         surfaceparm nonsolid
  64.         surfaceparm water
  65.  
  66.         cull disable
  67.  
  68. //    END
  69.     }
  70.  
  71.  
  72. textures/liquids2/clear_ripple1v
  73.  
  74.     {
  75.         qer_editorimage textures/liquids/pool3d_3.tga
  76.         qer_trans .5
  77.         q3map_globaltexture
  78.         surfaceparm trans
  79.         surfaceparm nonsolid
  80.         surfaceparm water
  81.  
  82.         cull disable
  83.         deformVertexes wave 64 sin .5 .5 0 .5    
  84.     
  85.         
  86.         { 
  87.             map textures/liquids/pool3d_5.tga
  88.             blendFunc GL_dst_color GL_one
  89.             rgbgen identity
  90.             tcmod scale .5 .5
  91.             tcmod transform 1.5 0 1.5 1 1 2
  92.             tcmod scroll -.05 .001
  93.         }
  94.     
  95.         { 
  96.             map textures/liquids/pool3d_6.tga
  97.             blendFunc GL_dst_color GL_one
  98.             rgbgen identity
  99.             tcmod scale .5 .5
  100.             tcmod transform 0 1.5 1 1.5 2 1
  101.             tcmod scroll .025 -.001
  102.         }
  103.  
  104.         { 
  105.             map textures/liquids/pool3d_3.tga
  106.             blendFunc GL_dst_color GL_one
  107.             rgbgen vertex
  108.             tcmod scale .25 .5
  109.             tcmod scroll .001 .025
  110.         }    
  111.  
  112. //    END
  113.     }
  114.  
  115. textures/liquids2/clear_ripple1_q3dm1v
  116.     
  117.     {
  118.         qer_editorimage textures/liquids/pool3d_3.tga
  119.         qer_trans .5
  120.         q3map_globaltexture
  121.         surfaceparm trans
  122.         surfaceparm nonsolid
  123.         surfaceparm water
  124.  
  125.         cull disable
  126.         deformVertexes wave 64 sin .5 .5 0 .5    
  127.     
  128.         
  129.         { 
  130.             map textures/liquids/pool3d_5.tga
  131.             blendFunc GL_dst_color GL_one
  132.             rgbgen identity
  133.             tcmod scale .5 .5
  134.             tcmod transform 1.5 0 1.5 1 1 2
  135.             tcmod scroll -.05 .001
  136.         }
  137.     
  138.         { 
  139.             map textures/liquids/pool3d_6.tga
  140.             blendFunc GL_dst_color GL_one
  141.             rgbgen identity
  142.             tcmod scale .5 .5
  143.             tcmod transform 0 1.5 1 1.5 2 1
  144.             tcmod scroll .025 -.001
  145.         }
  146.  
  147.         { 
  148.             map textures/liquids/pool3d_3.tga
  149.             blendFunc GL_dst_color GL_one
  150.             rgbgen vertex
  151.             tcmod scale .25 .5
  152.             tcmod scroll .001 .025
  153.         }    
  154.  
  155. //    END
  156.     }
  157. textures/liquids2/clear_calm1v
  158.     
  159.     {
  160.         qer_editorimage textures/liquids/pool3d_3e.tga
  161.         qer_trans .5
  162.         q3map_globaltexture
  163.         surfaceparm trans
  164.         surfaceparm nonsolid
  165.         surfaceparm water
  166.     
  167.         cull disable
  168.         deformVertexes wave 64 sin .25 .25 0 .5    
  169.         { 
  170.             map textures/liquids/pool3d_5e.tga
  171.             blendFunc GL_dst_color GL_one
  172.             rgbgen identity
  173.             tcmod scale .5 .5
  174.             tcmod scroll .025 .01
  175.                         
  176.         }
  177.     
  178.         { 
  179.             map textures/liquids/pool3d_3e.tga
  180.             blendFunc GL_dst_color GL_one
  181.             tcmod scale -.5 -.5
  182.             tcmod scroll .025 .025
  183.                         rgbGen vertex
  184.         }
  185.  
  186.  
  187.     
  188.     
  189.  
  190. //    END
  191.     }
  192. textures/liquids2/pjslime
  193.     {
  194.     //    *************************************************        
  195.     //    * ORIGINAL SLIME Feb 11 1999                 *
  196.     //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  197.         //      *
  198.     //    *************************************************    
  199.         //Changed light value to 400 on May 17, 2000
  200.         // Added to g3map_global texture on May 11, 1999
  201.         q3map_lightimage textures/proto2/concrete_blue.tga
  202.         q3map_globaltexture
  203.         qer_trans .5
  204.  
  205.         surfaceparm noimpact
  206.         surfaceparm lava
  207.         surfaceparm trans        
  208.  
  209.         q3map_surfacelight 500
  210.         tessSize 64
  211.         //cull disable
  212.         deformVertexes wave 100 sin 1 2 0 .5
  213.         
  214.         
  215.         {    
  216.             map $lightmap
  217.             rgbgen identity
  218.         }
  219.         
  220.  
  221.         {
  222.             map textures/liquids2/pjslime.tga
  223.             blendFunc GL_DST_COLOR GL_SRC_ALPHA
  224.             rgbGen identity
  225.             alphaGen lightingSpecular
  226.             tcMod turb 0 .2 .5 .05
  227.             tcmod scroll .01 .01
  228.         }
  229.  
  230.  
  231.         
  232.         {
  233.             map textures/liquids2/pjslime2.tga
  234.             blendfunc add
  235.             rgbgen wave inversesawtooth 0 1 0 4
  236.             tcMod turb 0 .2 .5 .05
  237.             tcmod scroll .01 .01
  238.         }
  239.  
  240.  
  241.  
  242.         //     END
  243.     }
  244.  
  245. textures/liquids2/slime3
  246.     {
  247.     //    *************************************************        
  248.     //    * ORIGINAL SLIME Feb 11 1999                 *
  249.     //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  250.         //      *
  251.     //    *************************************************    
  252.         //Changed light value to 500 on Feb 18, 2000
  253.         // Added to g3map_global texture on May 11, 1999
  254.         qer_editorimage textures/liquids/slime7e.tga
  255.         q3map_lightimage textures/liquids/slime7e4.tga
  256.         q3map_globaltexture
  257.         qer_trans .5
  258.  
  259.         surfaceparm noimpact
  260.         surfaceparm lava
  261.         surfaceparm trans        
  262.  
  263.         q3map_surfacelight 500
  264.         tessSize 64
  265.         //cull disable
  266.         deformVertexes wave 100 sin 1 2 0 .5
  267.         
  268.         
  269.         {    
  270.             map $lightmap
  271.             rgbgen identity
  272.         }
  273.         
  274.  
  275.         {
  276.             map textures/liquids/slime7e.tga
  277.             blendFunc GL_DST_COLOR GL_SRC_ALPHA
  278.             rgbGen identity
  279.             alphaGen lightingSpecular
  280.             tcMod turb 0 .2 .5 .05
  281.             tcmod scroll .01 .01
  282.         }
  283.  
  284.  
  285.         
  286.         {
  287.             map textures/liquids/slime7e4.tga
  288.             blendfunc add
  289.             rgbgen wave inversesawtooth 0 1 0 4
  290.             tcMod turb 0 .2 .5 .05
  291.             tcmod scroll .01 .01
  292.         }
  293.  
  294.  
  295.  
  296.         //     END
  297.     }
  298.  
  299. textures/liquids2/xproto_pool3
  300.     {
  301.         ///////////////////////////////////////////
  302.         //   Water Fuckage June 18 99 Kenneth     //
  303.         ///////////////////////////////////////////
  304.                 
  305.         qer_editorimage textures/liquids2/proto_pool3.tga
  306.         q3map_globaltexture
  307.             qer_trans .80
  308.                 surfaceparm trans
  309.         surfaceparm nonsolid
  310.         surfaceparm water
  311.                 q3map_surfacelight 30
  312.         q3map_lightsubdivide 32
  313.         cull disable
  314.                 // tesssize 256
  315.             //deformVertexes wave 100 sin 1 5 .1 .5
  316.             
  317.         
  318.         {
  319.             map textures/liquids2/proto_pool3.tga
  320.             blendfunc GL_ONE GL_ONE //SRC_COLOR
  321.             tcMod scale 1 1
  322.             tcMod scroll .02 .02
  323.                        
  324.         }
  325.             {
  326.             map textures/liquids2/proto_poolpass2.tga
  327.             blendfunc GL_ONE GL_ONE
  328.             tcMod scale .5 .6
  329.             tcMod scroll .06 .04
  330.         }
  331.             {
  332.             map textures/liquids2/proto_poolpass.tga
  333.             blendfunc GL_ONE GL_ONE
  334.             tcMod scale .2 .2
  335.             tcMod scroll .05 .05
  336.         }
  337.             {
  338.                 map $lightmap
  339.             rgbgen identity
  340.             blendfunc GL_DST_COLOR GL_ZERO
  341.                 }
  342.                
  343.         
  344.  
  345.         //    END
  346.     }
  347.