home *** CD-ROM | disk | FTP | other *** search
/ Net Power 2000 #2 / NetCD2.iso / Demogame / Quake3 / q3ademo.exe / Main / pak0.pk3 / scripts / test.shader < prev   
Encoding:
Text File  |  1999-11-29  |  19.7 KB  |  1,135 lines

  1. //    *************************************************
  2. //    *         TEST SHADERS            *
  3. //    *        DO NOT USE IN PROJECT MAPS        *
  4. //    *************************************************
  5.  
  6. textures/vector
  7. // testing tcgen vector
  8. {
  9.     nomipmaps
  10.     {
  11.             map textures/gothic_block/blocks10.tga
  12.                 tcGen vector ( 0.0001 0.0001 0.0001 ) ( 0 0 0 )
  13.                 tcMod scroll 0.01 0
  14.                 rgbGen identity
  15.     }
  16. }
  17.  
  18.  
  19. textures/sfx/kenelectric
  20. {    
  21.          {
  22.                 map textures/sfx/kenelectric.tga
  23.                 blendFunc GL_ONE GL_ZERO
  24.                 tcmod scale 7 7
  25.                 tcMod scroll 5 -5
  26.                 tcmod rotate 360
  27.                 rgbGen identity
  28.     }
  29.         {
  30.         map textures/effects/tinfx2.tga
  31.                 tcGen environment
  32.                 blendFunc GL_ONE GL_ONE              
  33.                 //rgbGen lightingDiffuse
  34.     }   
  35.         //{
  36.         //map models/players/doom/phobos.tga
  37.              //   blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  38.          //rgbGen lightingDiffuse
  39.     //}
  40. }
  41.  
  42. // Rogues sorting trimmed glass//
  43.  
  44. textures/test/rnd_ledm1
  45. {
  46.         surfaceparm nolightmap
  47.         surfaceparm trans
  48.         qer_trans 0.5
  49.         qer_editorimage textures/test/rnd_ledm1.tga
  50.         
  51.         { 
  52.                 map textures/test/rnd_ledm1.tga
  53.                 blendFunc GL_ONE GL_ONE
  54.                 rgbGen identity
  55.         }
  56.         {
  57.                 map textures/test/rnd_ledm2.tga
  58.                 blendFunc GL_ZERO GL_SRC_COLOR
  59.                 rgbGen identity 
  60.         }
  61. }
  62.  
  63.  
  64.  
  65.     
  66.  
  67. textures/test/electricity3
  68.     {
  69.         //    *************************************************
  70.         //    * Ripply Water Feb 16 1999            *
  71.         //    * IF YOU CHANGE THIS PLEASE COMMENT THE CHANGE    *
  72.         //    *************************************************
  73.  
  74.         qer_trans .5
  75.     
  76.         surfaceparm trans
  77.         surfaceparm nonsolid
  78.         surfaceparm water
  79.         surfaceparm nolightmap
  80.  
  81.         cull disable
  82.         tesssize 64
  83.         deformVertexes wave 100 triangle 2 2 1 0.1
  84.         
  85.  
  86.  
  87.         {
  88.             map textures/test/fub.tga
  89.             blendFunc GL_ZERO GL_ONE
  90.             alphafunc GT0
  91.             tcMod scale .1 .01
  92.             tcmod turb 0 .01 .3 .1
  93.             alphaGen wave sin .5 .5 0 .01
  94.             tcMod scroll .1 .1
  95.             depthWrite
  96.         }
  97.         {
  98.             map textures/liquids/pool2.tga
  99.             blendfunc GL_ONE GL_SRC_COLOR    
  100.             tcMod scale .03 .03
  101.             tcMod scroll .001 .001
  102.         }
  103.     
  104.  
  105.         
  106.         {
  107.             map textures/test/electricity9.tga
  108.             blendfunc GL_DST_COLOR GL_ONE
  109.             tcmod turb 0 .01 .3 10
  110.             tcMod scale .5 .5    
  111.             tcMod rotate 1
  112.             depthfunc equal
  113.             tcMod scroll -.01 -.05
  114.         }
  115.  
  116.         {
  117.             map textures/test/electricity9.tga
  118.             blendfunc GL_DST_COLOR GL_ONE
  119.             tcmod turb 0 .01 .3 10
  120.             tcMod scale .5 .5    
  121.             tcMod rotate 1
  122.             depthfunc equal
  123.             tcMod scroll -.01 -.05
  124.         }
  125.  
  126.         
  127.  
  128.             
  129.  
  130.         //    END
  131.     }
  132.  
  133.  
  134. textures/gothic_trim/hellodolly
  135. {
  136.  
  137.     //    *************************************************
  138.     //    *          TEST BORDER WALL            *
  139.     //    *          Feb 24 1999                *    
  140.     //    *    Please Comment Changes            *
  141.     //    *************************************************
  142.  
  143.         qer_editorimage    textures/gothic_trim/metalbase13_d.tga    
  144.  
  145.         {
  146.             map textures/gothic_block/blocks10.tga
  147.             rgbGen identity
  148.             // Name of background wall
  149.         }
  150.  
  151.  
  152.         {    
  153.             map textures/gothic_trim/metalbase13_d.tga
  154.             // Name of border wall
  155.             blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  156.         }
  157.  
  158.         {    
  159.             rgbGen identity
  160.             map $lightmap
  161.             blendfunc GL_DST_COLOR GL_ZERO
  162.         }    
  163.  
  164.         
  165.             
  166.  
  167.     //    END
  168. }
  169.  
  170. textures/test/blocks10pent
  171. {
  172.  
  173.     //    *************************************************
  174.     //    *          TEST BORDER WALL            *
  175.     //    *          Feb 24 1999                *    
  176.     //    *    Please Comment Changes            *
  177.     //    *************************************************
  178.  
  179.         q3map_surfacelight 1000
  180.         surfaceparm nodamage
  181.         qer_lightimage textures/test/jumpadsmall.tga    
  182.  
  183.     
  184.     {
  185.         map textures/sfx/bouncepad01block18b.tga
  186.         rgbGen identity
  187.     }
  188.     
  189.     {
  190.         map $lightmap
  191.         rgbGen identity
  192.         blendfunc gl_dst_color gl_zero
  193.     }
  194.     
  195.     {
  196.         map textures/sfx/bouncepad01b_layer1.tga
  197.         blendfunc gl_one gl_one
  198.         rgbGen wave sin .5 .5 0 1.5    
  199.     }
  200.  
  201.     {
  202.         clampmap textures/test/jumppadsmall.tga
  203.         blendfunc gl_one gl_one
  204.         tcMod stretch sin .6 .4 0 1.5
  205.         rgbGen wave square .5 .5 .25 1.5
  206.     }
  207.  
  208.  
  209.         
  210.             
  211.  
  212.     //    END
  213. }
  214.  
  215.  
  216.  
  217. textures/dont_use/foggentest_shader
  218. {
  219. //    *************************************************
  220. //    * Kevin's fogggen test                *
  221. //    *************************************************
  222.  
  223.     surfaceparm trans
  224.     surfaceparm nonsolid
  225.     surfaceparm fog
  226.     surfaceparm nolightmap
  227.  
  228.     fogparms .2 .1 .3 0 0
  229.     foggen sin .1 .1 .1 .1
  230.  
  231.     cull backsided
  232.  
  233.  
  234.     
  235. //    END
  236. }
  237.  
  238. textures/dont_use/sign_test_glow
  239. {
  240.     surfaceparm trans
  241.     surfaceparm nolightmap
  242.     q3map_surfacelight 100
  243.     
  244.     {
  245.         map textures/dont_use/sign_test.tga
  246.         alphaMap $fromBlack
  247.         blendFunc GL_ONE GL_ONE
  248.     }
  249.     
  250.     {    
  251.         map textures/dont_use/sign_test_glow.tga
  252.         alphaMap $fromBlack
  253.         blendFunc GL_ONE GL_ONE
  254.         rgbGen wave sin .5 .5 1 .1
  255.     }
  256.  
  257. //    END
  258. }
  259.     
  260.  
  261. textures/dont_use/nightsky_kc
  262. {
  263.  
  264. //    *************************************************
  265. //    * Kevin's strange test sky        *
  266. //    *************************************************
  267.     surfaceparm sky
  268.     surfaceparm noimpact
  269.     surfaceparm nolightmap
  270.     q3map_surfacelight 200
  271.  
  272.     cloudparms 256 half
  273.  
  274.     
  275.  
  276.  
  277.     
  278.     {
  279.         map textures/dont_use/strangesky3_kc.tga
  280.         tcMod scroll  .03 .03
  281.     }
  282.  
  283.  
  284.     {
  285.         map textures/dont_use/strangesky.tga
  286.         blendfunc GL_ONE GL_SRC_COLOR
  287.         tcMod scroll  .05 .05    
  288.     }
  289.  
  290.     
  291.     {
  292.         map textures/dont_use/strangesky2_kc.tga
  293.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  294.         tcMod scroll 0.01 0.01
  295.         tcMod scale .5 .5
  296.     }
  297.     
  298. //END
  299. }
  300.  
  301. textures/dont_use/nightsky_kcold
  302. {
  303.  
  304. //    *************************************************
  305. //    * Kevin's four layer storm sky            *
  306. //    *************************************************
  307.     surfaceparm sky
  308.     surfaceparm noimpact
  309.     surfaceparm nolightmap
  310.     q3map_surfacelight 200
  311.  
  312.     cloudparms 256 full
  313.     lightning
  314.  
  315.  
  316.     
  317.     {
  318.         map textures/dont_use/tileclouds3_kc.tga
  319.         tcMod scroll 0.01 0.01
  320.         tcMod scale 2 2
  321.     }
  322.  
  323.     
  324.     {
  325.         map textures/dont_use/tileclouds4_kc.tga
  326.         blendFunc GL_ONE GL_ONE
  327.         tcMod scroll  .04 .05
  328.     }
  329.  
  330.  
  331.     {
  332.         map textures/dont_use/lightningsky8_kc.tga
  333.         blendfunc GL_DST_COLOR GL_ONE
  334.         tcMod scroll .1 .1
  335.         tcMod scale 4 4
  336.     }
  337.  
  338.     {
  339.         map textures/dont_use/tileclouds3b_kc.tga
  340.         blendFunc GL_DST_COLOR GL_ONE
  341.         tcMod scroll  0.01 .02
  342.     }
  343.  
  344.     
  345.  
  346.     
  347. //END
  348. }
  349.  
  350. textures/dont_use/foglightshader
  351. {
  352. //    *************************************************
  353. //    * Kevin's simplified fog            *
  354. //    *************************************************
  355.  
  356.     surfaceparm trans
  357.     surfaceparm nonsolid
  358.     surfaceparm fog
  359.     surfaceparm nolightmap
  360.  
  361.     cull backsided
  362.     {
  363.     map textures/dont_use/fogkc.tga
  364.     blendFunc GL_ONE GL_ONE
  365.     tcMod scroll 1 1
  366.     tcMod scale .25 .25
  367.     tcMod turb .1 .1 .1 .1
  368.     }
  369.  
  370.     
  371. //    END
  372. }
  373.  
  374.  
  375.  
  376. textures/dont_use/train1kc_shader
  377. {
  378. //    *************************************************
  379. //    * test shader wall                *
  380. //    *************************************************
  381.  
  382.  
  383.     {
  384.     map $lightmap
  385.         rgbGen identity
  386.     }
  387.     
  388.     {
  389.     map textures/common/pjrock5b.tga
  390.     blendFunc GL_DST_COLOR GL_SRC_COLOR 
  391.         rgbGen identity
  392.     detail
  393.     tcmod scale 9.1  9.2
  394.     }
  395.     
  396.     {
  397.     map textures/common/pjrock5.tga
  398.     blendFunc GL_DST_COLOR GL_ZERO
  399.         rgbGen identity
  400.     }
  401.  
  402.     
  403.  
  404.  
  405.         
  406. //    END
  407. }
  408.  
  409. textures/dont_use/flameshader
  410. {
  411. //    *************************************************
  412. //    * test flames                    *
  413. //    *************************************************
  414.     surfaceparm trans
  415.     surfaceparm nonsolid
  416.     surfaceparm fog
  417.     surfaceparm nolightmap
  418.  
  419.     cull none
  420.     fogparms .3 .1 .1 0 32
  421.     tesssize 16
  422.     deformVertexes wave 100 sin 2.5 5 10 .1
  423.         
  424. //    END
  425. }
  426.  
  427. textures/dont_use/openwindow
  428. {    
  429.     
  430.     surfaceparm nolightmap
  431.     cull none
  432.     
  433.     {
  434.     map textures/dont_use/openwindow.tga
  435.     alphaMap openwindow.tga
  436.     blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
  437.     depthWrite
  438.     }
  439. }
  440.  
  441. textures/dont_use/web
  442. {    
  443.     
  444.     surfaceparm nolightmap
  445.     cull twosided
  446.     {
  447.     map textures/dont_use/web.tga
  448.     alphaMap $fromBlack
  449.     blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
  450.     depthWrite
  451.     }
  452. }
  453.  
  454. textures/dont_use/metal2_2kc
  455. {    
  456.     
  457.     surfaceparm nolightmap
  458.     cull none
  459.     {
  460.     map textures/dont_use/metal2_2kc.tga
  461.     alphaMap $fromBlack
  462.     blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
  463.     depthWrite
  464.     }
  465. }
  466.  
  467. textures/dont_use/rustysupport
  468. {    
  469.     
  470.     surfaceparm nolightmap
  471.     cull none
  472.     {
  473.     map textures/dont_use/rustysupport.tga
  474.     alphaMap $fromBlack
  475.     blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
  476.     depthWrite
  477.     }
  478. }
  479.  
  480. textures/dont_use/sky_test
  481. {
  482.     surfaceparm sky
  483.     surfaceparm noimpact
  484.     q3map_surfacelight 100
  485.     surfaceparm nolightmap
  486.     sky    textures/dont_use/sky_test
  487. }
  488.  
  489.  
  490.  
  491. textures/dont_use/shader2
  492. {
  493. //    *************************************************
  494. //    * test shader2 for test use            *
  495. //    *************************************************
  496.     surfaceparm trans
  497.     surfaceparm nonsolid
  498.     surfaceparm nolightmap
  499.     {
  500.     map textures/dont_use/shader2.tga
  501.     blendfunc GL_ONE GL_ONE
  502.     tcMod turb .2 .01 0 .1
  503.     tcMod scroll  0 0
  504.     }
  505. //    END
  506. }
  507.  
  508.  
  509. textures/dont_use/shader3
  510. {
  511. //    *************************************************
  512. //    * test shader3 for test use            *
  513. //    *************************************************
  514.     surfaceparm trans
  515.     surfaceparm nonsolid
  516.     surfaceparm nolightmap
  517.     
  518.     tesssize 64
  519.     deformVertexes wave 100 sin 2 2 10 .01
  520.     
  521.     {
  522.     map textures/dont_use/blood2.tga
  523.     tcMod turb .1 .1 0 0.02
  524.     tcMod scroll  .1 .1
  525.     }
  526.  
  527.  
  528. //    END
  529. }
  530.  
  531.  
  532. textures/dont_use/shader4
  533. {
  534. //    *************************************************
  535. //    * test shader4 for test use            *
  536. //    *************************************************
  537.     surfaceparm trans
  538.     surfaceparm nonsolid
  539.     surfaceparm nolightmap
  540.     tesssize 64
  541.     deformVertexes wave 100 sin 1 1 1 .1
  542.  
  543.     q3map_surfacelight 100
  544.     
  545.     {
  546.     map textures/dont_use/slimetest7c.tga
  547.     blendfunc GL_ONE_MINUS_DST_COLOR GL_ZERO
  548.     tcMod turb .01 .2 10 0.01
  549.     tcMod scroll  .2 .1
  550.     }
  551.     {
  552.     map textures/dont_use/bubbleslimeelectricc.tga
  553.     blendfunc GL_DST_COLOR GL_ONE
  554.     tcMod turb .5 .5 10 0.01
  555.     tcMod scroll .2 .2
  556.     tcMod scale .1 .1
  557.     }
  558.     
  559.     
  560.     
  561.     
  562. //    END
  563. }
  564.  
  565.  
  566. textures/dont_use/shader5
  567. {
  568. //    *************************************************
  569. //    * test shader5 for test use            *
  570. //    *************************************************
  571.     surfaceparm trans
  572.     surfaceparm nonsolid
  573.     surfaceparm nolightmap
  574.     tesssize 64
  575.     
  576.     {
  577.     map textures/dont_use/firetestb.tga
  578.     blendfunc gl_one gl_one
  579.     tcMod scroll 5 15
  580.     tcMod scale .25 .25
  581.     tcMod turb .2 .2 .1 1
  582.     }
  583.  
  584.     {
  585.     map textures/dont_use/firetest.tga
  586.     blendFunc GL_dst_color gl_src_alpha
  587.     tcMod scroll 0 10
  588.     tcMod scale .1 .1
  589.     tcMod turb .2 .1 .1 1
  590.     rgbGen wave SIN .5 .5 1 .1
  591.     }
  592.     
  593.     {
  594.     map textures/dont_use/firetest2.tga
  595.     blendFunc GL_dst_color gl_one
  596.     tcMod scroll  10 50
  597.     tcMod turb .1 .1 .5 .5
  598.     rgbGen wave SIN .5 .5 1 .1
  599.     }
  600.     
  601.         
  602. //    END
  603. }
  604.  
  605.  
  606. textures/dont_use/shader5old
  607. {
  608. //    *************************************************
  609. //    * test shader5 for test use            *
  610. //    *************************************************
  611.     surfaceparm trans
  612.     surfaceparm nonsolid
  613.     surfaceparm nolightmap
  614.     tesssize 64
  615.     
  616.     
  617.     {
  618.     map textures/dont_use/firetestb.tga
  619.     blendfunc gl_one gl_one
  620.     tcMod scroll 5 15
  621.     tcMod scale .25 .25
  622.     tcMod turb .2 .2 .1 1
  623.     }
  624.  
  625.     {
  626.     map textures/dont_use/firetest.tga
  627.     blendFunc GL_dst_color gl_src_alpha
  628.     tcMod scroll 0 10
  629.     tcMod scale .1 .1
  630.     tcMod turb .2 .1 .1 1
  631.     }
  632.     
  633.     {
  634.     map textures/dont_use/firetest2.tga
  635.     blendFunc GL_dst_color gl_one
  636.     tcMod scroll  10 50
  637.     tcMod turb .1 .1 .5 .5
  638.     }
  639.  
  640. //    END
  641. }
  642.  
  643.  
  644.  
  645. textures/test/slimeshader
  646. {
  647. //    *************************************************
  648. //    * Kevin's temp slime with electricity        *
  649. //    *************************************************
  650.  
  651.     surfaceparm trans
  652.     surfaceparm nonsolid
  653.     surfaceparm slime
  654.     surfaceparm nolightmap
  655.  
  656.     tesssize 64
  657.     cull disable
  658.     deformVertexes wave 100 sin .5 .5 1 .05
  659.  
  660.     q3map_surfacelight 500
  661.  
  662.     {
  663.     map textures/test/slimetest6.tga
  664.     tcMod turb .25 0.1 1 0.02
  665.     tcMod scroll  .2 .2
  666.     }
  667.     {
  668.     map textures/test/slimecrust5d.tga
  669.     blendfunc GL_DST_COLOR GL_SRC_ALPHA
  670.     tcMod turb .5 .5 1 .02
  671.     tcMod scroll .1 .01
  672.     tcMod scale .1 .1
  673.     }
  674.     {
  675.     map textures/test/electricslime.tga
  676.     tcMod turb 1 1 1 .01
  677.     tcMod scroll 1 5
  678.     tcMod scale .5 .5
  679.     blendfunc GL_ONE GL_ONE
  680.     rgbGen wave sin .5 .5 0 .1
  681.     }
  682.     {
  683.     map textures/test/slimecrust5d.tga
  684.     blendfunc GL_ONE GL_SRC_ALPHA
  685.     tcMod turb .2 .1 5 .01
  686.     tcMod scroll  -.01 -.01
  687.     }
  688.     
  689. //    FOG
  690.     surfaceparm fog
  691.     fogparms .2 1 .25 0 256
  692.  
  693. //    END
  694. }
  695.  
  696.  
  697.  
  698. textures/test/fogtestshader
  699. {
  700. //    *************************************************
  701. //    * Kevin's simplified fog            *
  702. //    *************************************************
  703.  
  704.     surfaceparm trans
  705.     surfaceparm nonsolid
  706.     surfaceparm fog
  707.     surfaceparm nolightmap
  708.  
  709.     cull disable
  710.     fogparms .2 .225 .25 0 0
  711.     tesssize 64
  712.     
  713.     {
  714.     map textures/test/cloud2.tga
  715.     blendFunc GL_DST_COLOR GL_ONE
  716.     tcGen environment
  717.     tcMod turb .5 .5 .5 0.03
  718.     tcMod scroll .25 .25
  719.     tcMod scale .5 .5
  720.     }
  721.     
  722. //    END
  723. }
  724.  
  725.  
  726.  
  727.  
  728. textures/test/lavacrustshader
  729. {
  730. //    *************************************************
  731. //    * Kevin's brown lava crust            *
  732. //    *************************************************
  733.  
  734.     surfaceparm trans
  735.     //surfaceparm nonsolid
  736.     //surfaceparm noimpact
  737.     surfaceparm lava
  738.     surfaceparm nolightmap
  739.  
  740.     
  741.     
  742.     light 1
  743.     q3map_surfacelight 100
  744.     
  745.     tesssize 64
  746.     deformVertexes wave 100 sin 1 1 0 .03
  747.     cull disable
  748.  
  749.     {
  750.     map textures/test/lavatest.tga
  751.     tcMod turb .25 0.1 1 0.02
  752.     tcMod scroll  .2 .2
  753.     }
  754.     {
  755.     map textures/test/lavacrust.tga
  756.     blendfunc GL_DST_COLOR GL_SRC_ALPHA
  757.     tcMod turb .5 .5 5 0.01
  758.     tcMod scroll .1 .1
  759.     tcMod scale .1 .1
  760.     rgbGen wave triangle 1 1 2 1
  761.     }
  762.     {
  763.     map textures/test/lavacrust.tga
  764.     blendfunc GL_ONE GL_SRC_ALPHA
  765.     tcMod turb .2 .01 5 .01
  766.     tcMod scroll  -.01 -.01
  767.     }
  768.     
  769.     
  770. //    END
  771. }
  772.  
  773.  
  774. textures/test/water_trans
  775. {
  776. //    **************************************************
  777. //    * Kevin's simplified version of translucent water*
  778. //    * Should be used for small pools         *
  779. //    **************************************************
  780.  
  781.     surfaceparm trans
  782.     surfaceparm nonsolid
  783.     surfaceparm water
  784.     surfaceparm nolightmap
  785.  
  786.     cull disable
  787.     tesssize 64
  788.     deformVertexes wave 100 sin 1 1 1 .1
  789.     
  790.     
  791.     {
  792.     map textures/test/watertest8d.tga
  793.     blendfunc GL_ONE GL_SRC_COLOR    
  794.     tcMod scale .03 .03
  795.     tcMod scroll .001 .001
  796.     }
  797.     
  798.     {
  799.     map textures/test/watertest12e.tga
  800.     blendfunc GL_DST_COLOR GL_ONE
  801.     tcMod scale .2 .2
  802.     tcMod stretch sin 1 .1 .02 .05
  803.     rgbGen wave sin .8 .2 .02 .05
  804.     tcMod scroll -.001 .001
  805.     }
  806.     
  807.     {
  808.     map textures/test/watertest12e7.tga
  809.     blendfunc GL_DST_COLOR GL_ONE
  810.     tcMod turb .1 .1 0 .01
  811.     tcMod scale .5 .5
  812.     tcMod scroll -.025 .02
  813.     }
  814.     
  815.     {
  816.     map textures/test/watertest12e6.tga
  817.     blendfunc GL_DST_COLOR GL_ONE
  818.     tcMod scale .3 .3
  819.     tcMod turb .1 .01 .01 .01
  820.     tcMod stretch sin 1 .3 .015 .015
  821.     rgbGen wave sin .7 .3 .02 .02
  822.     tcMod scroll .001 -.001
  823.     }
  824.  
  825.     
  826.  
  827.  
  828.  
  829.     
  830.  
  831.     
  832.     
  833.     
  834.     
  835.     
  836.  
  837. //    END
  838. }
  839.  
  840.  
  841.  
  842. textures/test/watertile
  843. {    
  844. //    *************************************************
  845. //    * Kevin's test water tile with shader        *
  846. //    *************************************************
  847.     
  848.     cull disable
  849.     
  850.     {
  851.     map textures/paulbase/tilefloor2.tga
  852.     }
  853.     //{
  854.     //map textures/test/watertest7f.tga
  855.     //blendFunc GL_ONE GL_SRC_COLOR
  856.     //tcMod turb .01 .02 0 0.05
  857.     //tcMod scroll .01 .01
  858.     //}
  859.     //{
  860.     //map textures/test/watertest7h.tga
  861.     //blendFunc GL_ONE GL_SRC_COLOR
  862.     //tcMod turb .01 .03 0 0.05
  863.     //tcMod scroll -.01 -.01
  864.     //}
  865.     
  866. //    END
  867. }
  868.  
  869.  
  870. textures/test/river
  871. {    
  872. //    *************************************************
  873. //    * Kevin's test river shader             *
  874. //    *************************************************
  875.     
  876.     surfaceparm trans
  877.     surfaceparm nonsolid
  878.     surfaceparm water
  879.     surfaceparm nolightmap
  880.  
  881.     cull disable
  882.     tesssize 64
  883.     deformVertexes wave 100 sin 1 1 1 .05
  884.  
  885.     {
  886.     map textures/test/watertest8c.tga
  887.     blendFunc GL_DST_COLOR GL_SRC_COLOR
  888.     tcMod turb .01 .01 0 0.1
  889.     tcMod scroll -5 0
  890.     tcMod scale .5 .5
  891.     }
  892.     {
  893.     map textures/test/watertest10f.tga
  894.     blendfunc GL_DST_COLOR GL_SRC_COLOR
  895.     tcMod turb .01 .01 0 0.1
  896.     rgbGen wave sin .8 .01 1 1    
  897.     tcMod scroll -6 0
  898.     tcMod scale .5 .5
  899.     }
  900.     {
  901.     map textures/test/watertest8e.tga
  902.     blendFunc GL_DST_COLOR GL_ONE
  903.     tcMod turb .01 .01 .1 .1
  904.     tcMod scroll  -10 0
  905.     }
  906.     
  907. //    END
  908. }
  909.  
  910. textures/test/waterfall
  911. {    
  912. //    *************************************************
  913. //    * Kevin's test waterfall shader            *
  914. //    *************************************************
  915.     
  916.     surfaceparm trans
  917.     surfaceparm nonsolid
  918.     surfaceparm water
  919.     surfaceparm nolightmap
  920.  
  921.     cull disable
  922.     tesssize 16
  923.     deformVertexes wave 100 sin 0 2 1 .1
  924.     
  925.  
  926.     {
  927.     map textures/test/watertest8e.tga
  928.     blendFunc GL_ONE GL_SRC_ALPHA
  929.     tcMod turb .01 .01 0 0.1
  930.     tcMod scroll  15 0
  931.     }
  932.     {
  933.     map textures/test/watertest10f.tga
  934.     blendfunc GL_DST_COLOR GL_SRC_COLOR
  935.     tcMod turb .01 .01 0 0.1
  936.     rgbGen wave sin .8 .01 1 1    
  937.     tcMod scroll  20 0
  938.     }
  939.     {
  940.     map  textures/test/watertest10c.tga
  941.     blendFunc GL_ONE GL_SRC_ALPHA
  942.     //tcMod turb .05 .05 .1 0.1
  943.     tcMod scroll 17 1
  944.     tcMod scale .5 .5
  945.     }
  946.     
  947.     
  948. //    END
  949. }
  950.  
  951. textures/test/lavatest
  952. {
  953. //    *************************************************
  954. //    * Kevin's simplified version of lava        *
  955. //    *************************************************
  956.  
  957.     surfaceparm trans
  958.     surfaceparm nonsolid
  959.     surfaceparm noimpact
  960.     surfaceparm lava
  961.     surfaceparm nolightmap
  962.     
  963.     light 1
  964.     q3map_surfacelight 100
  965.     
  966.     tesssize 128
  967.     cull disable
  968.     deformVertexes wave 100 sin 5 5 .5 0.02
  969.     
  970.     {
  971.     map textures/test/lavatest.tga
  972.     tcMod turb .25 0.2 1 0.02
  973.     tcMod scroll  .25 .25
  974.     }
  975.     
  976. //    END
  977. }
  978.  
  979. textures/test/densewaterfog
  980. {
  981.     surfaceparm    trans
  982.     surfaceparm    nonsolid
  983.     surfaceparm    fog
  984.     surfaceparm    nolightmap
  985.     backsided
  986.     fogparms 0.7 0.7 0.7 128 64
  987. }
  988.  
  989.  
  990. textures/test/fire2    
  991. {
  992.     
  993.     {
  994.     map textures/test/fire2.tga
  995.     }
  996.     {
  997.     map textures/test/fire3.tga
  998.     tcMod turb 0 .1 0 .7
  999.     tcMod scroll  0 10
  1000.     rgbGen wave sin 1 2 0 1
  1001.     }
  1002.     {
  1003.     map textures/test/fire3.blend.tga
  1004.     blendfunc GL_ONE GL_ONE     
  1005.     tcMod scroll  0 10
  1006.     }
  1007. }
  1008.  
  1009. textures/bwhtest/lightning
  1010. {
  1011.     cull disable
  1012.     {
  1013.     map textures/bwhtest/lightning.tga
  1014.     blendfunc GL_ONE GL_ONE
  1015.     tcMod turb 0 0.1 0 1
  1016.     }
  1017. }
  1018.  
  1019. textures/base/bluemet1
  1020. {
  1021.     {
  1022.     map $lightmap
  1023.         rgbGen identity
  1024.     }
  1025.     {
  1026.     map textures/base/bluemet1.tga
  1027.     blendFunc GL_DST_COLOR GL_ZERO
  1028.         rgbGen identity
  1029.     }
  1030. }
  1031.  
  1032. textures/bwhtest/crackedearth
  1033. {
  1034.     {
  1035.     map textures/bwhtest/crackedearth.tga
  1036.     }
  1037. }
  1038.  
  1039. textures/test/wispy
  1040. {
  1041.     surfaceparm nolightmap
  1042.     surfaceparm nonsolid
  1043.     surfaceparm trans
  1044.  
  1045.     deformVertexes wave 100 sin 0 3 0 0.1
  1046.     tesssize 64
  1047.  
  1048.     {
  1049.     map env/alphaclouds.tga
  1050.     blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1051.     tcMod scroll 1 0.8
  1052.     tcMod scale 0.1 0.1
  1053.     tcMod turb 0 0.3 0 0.1
  1054.     }
  1055.     
  1056. }
  1057.  
  1058. textures/common/transwater
  1059. {
  1060.     surfaceparm trans
  1061.     surfaceparm nonsolid
  1062.     surfaceparm water
  1063.     surfaceparm nolightmap
  1064.  
  1065.     cull disable
  1066.     
  1067.     tesssize 34
  1068.     deformVertexes wave 100 sin 0 2 0 0.1
  1069.     {
  1070.     map textures/common/water1.tga
  1071.     blendFunc GL_DST_COLOR GL_ZERO
  1072.     }
  1073. }
  1074.  
  1075. textures/skies/mkc_sky
  1076. {
  1077.     qer_editorimage textures/skies/pjbasesky.tga
  1078.     surfaceparm noimpact
  1079.     surfaceparm nolightmap
  1080.  
  1081.     q3map_sun    0.266383 0.274632 0.358662 150 60 80
  1082.     q3map_surfacelight 700
  1083.  
  1084.     skyparms half 256 -
  1085.     
  1086.     {
  1087.         map textures/skies/dimclouds.tga
  1088.         tcMod scroll 0.01 0.01
  1089.         tcMod scale 3 3
  1090.         depthWrite
  1091.     }
  1092.     {
  1093.         map textures/skies/pjbasesky.tga
  1094.         blendfunc GL_ONE GL_ONE
  1095.         tcMod scroll -0.01 -0.01
  1096.         tcMod scale 5 5
  1097.     }
  1098. }
  1099.  
  1100. textures/sfx/mkc_fog_dm1
  1101. {
  1102. qer_editorimage textures/sfx/fog_timdm1.tga
  1103. surfaceparm    trans
  1104. surfaceparm    nonsolid
  1105. surfaceparm    fog
  1106. surfaceparm    nolightmap
  1107.  
  1108. cull back
  1109. fogparms 0 0 0 400 1
  1110. }
  1111.  
  1112. textures/sfx/mkc_fog_dm1a
  1113. {
  1114. qer_editorimage textures/sfx/fog_timdm1.tga
  1115. surfaceparm    trans
  1116. surfaceparm    nonsolid
  1117. surfaceparm    fog
  1118. surfaceparm    nolightmap
  1119.  
  1120. cull back
  1121. fogparms 0 0 0 400 0
  1122. }
  1123.  
  1124. textures/sfx/mkc_fog_dm4
  1125. {
  1126. qer_editorimage textures/sfx/fog_timdm1.tga
  1127. surfaceparm    trans
  1128. surfaceparm    nonsolid
  1129. surfaceparm    fog
  1130. surfaceparm    nolightmap
  1131.  
  1132. cull back
  1133. fogparms 64 0 0 256 1
  1134. }
  1135.