home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2002 April / GSSH42002.iso / EDITOREN / JK2 / JK2EditingTools.exe / base / shaders / yavin.shader < prev    next >
Encoding:
Text File  |  2002-02-18  |  25.2 KB  |  1,136 lines

  1. textures/yavin/grasspatchy_swampsprite
  2. {
  3.     qer_editorimage    textures/yavin/groundjungle
  4.     q3map_nolightmap
  5.     cull    disable
  6.     {
  7.         map textures/yavin/groundjungle
  8.     }
  9.     {
  10.         map gfx/sprites/ss_grass_grasspatchy
  11.             surfaceSprites vertical 32 36 42 500
  12.             ssFademax 1500
  13.             ssFadescale 1
  14.             ssVariance 1 2
  15.             ssWind 0.5
  16.         alphaFunc GE192
  17.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  18.         depthWrite
  19.         rgbGen vertex
  20.     }
  21. }
  22.  
  23. textures/yavin/grasspatchy_reeds
  24. {
  25.     qer_editorimage    textures/yavin/groundjungle
  26.     q3map_nolightmap
  27.     cull    disable
  28.     {
  29.         map textures/yavin/groundjungle
  30.     }
  31.     {
  32.         map gfx/sprites/ss_grass_grasspatchy
  33.             surfaceSprites vertical 20 24 48 500
  34.             ssFademax 1500
  35.             ssFadescale 1
  36.             ssVariance 1 2
  37.             ssWind 0.5
  38.         alphaFunc GE192
  39.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  40.         depthWrite
  41.         rgbGen vertex
  42.     }
  43.     {
  44.         map gfx/sprites/ss_cattail
  45.             surfaceSprites vertical 20 32 50 500
  46.             ssVariance 1 2.5
  47.             ssWind 0.8
  48.         alphaFunc GE192
  49.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  50.         depthWrite
  51.         rgbGen vertex
  52.     }
  53. }
  54.  
  55. textures/yavin/grasspatchy_underwater
  56. {
  57.     qer_editorimage    textures/yavin/groundjungle
  58.     q3map_nolightmap
  59.     cull    disable
  60.     {
  61.         map textures/yavin/groundjungle
  62.     }
  63.     {
  64.         map gfx/sprites/ss_hangvine2
  65.             surfaceSprites vertical 10 16 30 300
  66.             ssVariance 1 2
  67.             ssWind 1
  68.         alphaFunc GE192
  69.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  70.         depthWrite
  71.         rgbGen vertex
  72.     }
  73.     {
  74.         clampmap gfx/sprites/ss_bubbles
  75.             surfaceSprites effect 2.5 1 36 400
  76.             ssFademax 700
  77.             ssVariance 0.75 1
  78.             ssFXDuration 2500
  79.             ssFXGrow 2.5 30
  80.             ssFXAlphaRange 0.5 0
  81.             ssFXWeather
  82.         blendFunc GL_ONE GL_ONE
  83.         detail
  84.     }
  85. }
  86.  
  87. textures/yavin/s_rock1_vines
  88. {
  89.     qer_editorimage    textures/yavin/rockmossy
  90.     q3map_nolightmap
  91.     q3map_onlyvertexlighting
  92.     cull    disable
  93.     {
  94.         map textures/yavin/rockmossy
  95.     }
  96.     {
  97.         map gfx/sprites/ss_hangvine
  98.             surfaceSprites vertical 10 15 42 600
  99.             ssFademax 1400
  100.             ssVariance 2 6
  101.             ssHangDown
  102.             ssWind 0.4
  103.             ssWindidle 0.3
  104.         alphaFunc GE192
  105.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  106.         depthWrite
  107.         rgbGen vertex
  108.     }
  109.     {
  110.         map gfx/sprites/ss_hangvine2
  111.             surfaceSprites vertical 6 12 49 500
  112.             ssFademax 1200
  113.             ssVariance 1 6
  114.             ssHangDown
  115.             ssWind 0.4
  116.             ssWindidle 0.3
  117.         alphaFunc GE192
  118.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  119.         depthWrite
  120.         rgbGen vertex
  121.     }
  122. }
  123.  
  124. textures/yavin/water1_2sided
  125. {
  126.     qer_editorimage    textures/yavin/water1
  127.     q3map_tesssize    256
  128.     surfaceparm    nonsolid
  129.     surfaceparm    water
  130.     surfaceparm    fog
  131.     surfaceparm    trans
  132.     q3map_material    Water
  133.     q3map_nolightmap
  134.     q3map_onlyvertexlighting
  135.     fogparms    ( 0.105098 0.147157 0.0431373 ) 128.0
  136.     cull    disable
  137.     {
  138.         map textures/yavin/water1
  139.         blendFunc GL_ONE GL_ZERO
  140.         rgbGen exactVertex
  141.         alphaGen const 0.9
  142.         tcMod turb 0 0.08 0.04 0.08
  143.         tcMod scroll -0.05 -0.001
  144.     }
  145.     {
  146.         map textures/yavin/water_test
  147.         blendFunc GL_DST_COLOR GL_ZERO
  148.         tcMod turb 0 0.1 0.4 0.09
  149.     }
  150.     {
  151.         clampmap gfx/sprites/rainring2
  152.             surfaceSprites effect 1 1 48 300
  153.             ssFademax 600
  154.             ssVariance 2 1
  155.             ssFaceup
  156.             ssFXDuration 800
  157.             ssFXGrow 10 10
  158.             ssFXAlphaRange 1 0
  159.             ssFXWeather
  160.         blendFunc GL_ONE GL_ONE
  161.         detail
  162.     }
  163.     {
  164.         clampmap gfx/sprites/bubble2
  165.             surfaceSprites effect 0.6 0.45 48 300
  166.             ssFademax 600
  167.             ssVariance 1 1
  168.             ssFXDuration 800
  169.             ssFXGrow 2 2
  170.             ssFXAlphaRange 0.2 0.5
  171.             ssFXWeather
  172.         blendFunc GL_ONE GL_ONE
  173.         detail
  174.     }
  175.     {
  176.         clampmap gfx/sprites/fog
  177.             surfaceSprites effect 20 8 50 200
  178.             ssFademax 1300
  179.             ssFadescale 2
  180.             ssVariance 2 1
  181.             ssWind 10
  182.             ssFXDuration 5000
  183.             ssFXGrow 2 2
  184.             ssFXAlphaRange 0.75 0
  185.         blendFunc GL_ONE GL_ONE
  186.         detail
  187.     }
  188. }
  189.  
  190. textures/yavin/water1_temple
  191. {
  192.     qer_editorimage    textures/yavin/water1
  193.     q3map_tesssize    256
  194.     surfaceparm    metalsteps
  195.     surfaceparm    nonsolid
  196.     surfaceparm    water
  197.     surfaceparm    fog
  198.     surfaceparm    trans
  199.     q3map_material    Water
  200.     q3map_nolightmap
  201.     q3map_onlyvertexlighting
  202.     fogparms    ( 0.105098 0.147157 0.0431373 ) 512.0
  203.     cull    disable
  204.     {
  205.         map textures/yavin/water1
  206.         blendFunc GL_ONE GL_ZERO
  207.         rgbGen exactVertex
  208.         alphaGen const 0.9
  209.         tcMod turb 0 0.08 0.04 0.08
  210.         tcMod scroll -0.05 -0.001
  211.     }
  212.     {
  213.         map textures/yavin/water_test
  214.         blendFunc GL_ONE GL_ONE
  215.         tcMod turb 0 0.1 0.4 0.09
  216.     }
  217. }
  218.  
  219. textures/yavin/water1_2sided_redux
  220. {
  221.     qer_editorimage    textures/yavin/water1
  222.     surfaceparm    nonsolid
  223.     surfaceparm    nonopaque
  224.     surfaceparm    water
  225.     surfaceparm    fog
  226.     surfaceparm    trans
  227.     q3map_material    Water
  228.     q3map_nolightmap
  229.     q3map_onlyvertexlighting
  230.     fogparms    ( 0.145098 0.192157 0.0431373 ) 512.0
  231.     cull    disable
  232.     {
  233.         map textures/yavin/water1
  234.         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  235.         rgbGen exactVertex
  236.         alphaGen const 0.9
  237.         tcMod turb 0 0.08 0.04 0.08
  238.         tcMod scroll -0.05 -0.001
  239.         tcMod scale 3 3
  240.     }
  241.     {
  242.         map textures/yavin/water1
  243.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  244.         alphaGen const 0.33
  245.         tcMod turb 0 0.08 0.04 0.08
  246.         tcMod scale 3 3
  247.     }
  248.     {
  249.         map textures/yavin/water_test
  250.         blendFunc GL_DST_COLOR GL_ONE
  251.         tcMod scroll 0.05 0.1
  252.         tcMod scale 3 3
  253.     }
  254. }
  255.  
  256. textures/yavin/water1
  257. {
  258.     qer_editorimage    textures/yavin/water1
  259.     surfaceparm    nonsolid
  260.     surfaceparm    water
  261.     surfaceparm    fog
  262.     surfaceparm    trans
  263.     q3map_material    Water
  264.     q3map_nolightmap
  265.     q3map_onlyvertexlighting
  266.     fogparms    ( 0.115098 0.122157 0.0431373 ) 128.0
  267.     {
  268.         map textures/yavin/water1
  269.         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  270.         rgbGen exactVertex
  271.         alphaGen const 0.9
  272.         tcMod turb 0 0.08 0.04 0.08
  273.         tcMod scroll -0.05 -0.001
  274.         tcMod scale 3 3
  275.     }
  276.     {
  277.         map textures/yavin/water1
  278.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  279.         alphaGen const 0.33
  280.         tcMod turb 0 0.08 0.04 0.08
  281.         tcMod scale 3 3
  282.     }
  283.     {
  284.         map textures/yavin/water_test
  285.         blendFunc GL_DST_COLOR GL_ONE
  286.         tcMod scroll 0.05 0.1
  287.         tcMod scale 3 3
  288.     }
  289. }
  290.  
  291. textures/yavin/gravel
  292. {
  293.     qer_editorimage    textures/yavin/dugdirt
  294.     surfaceparm    slick
  295.     q3map_nolightmap
  296.     q3map_vlight
  297.     {
  298.         map textures/yavin/dugdirt
  299.     }
  300. }
  301.  
  302. textures/yavin/light
  303. {
  304.     q3map_flare    gfx/misc/flare
  305.     q3map_nolightmap
  306.     {
  307.         map textures/yavin/light
  308.         alphaFunc GE128
  309.         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  310.     }
  311. }
  312.  
  313. textures/yavin/light_blue
  314. {
  315.     q3map_flare    gfx/misc/flare
  316.     q3map_nolightmap
  317.     {
  318.         map textures/yavin/light_blue
  319.         alphaFunc GE128
  320.         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  321.     }
  322. }
  323.  
  324. textures/yavin/ycamera
  325. {
  326.     qer_editorimage    textures/yavin/ycamera
  327.     {
  328.         map gfx/effects/decoystatic
  329.         blendFunc GL_ONE GL_ZERO
  330.         rgbGen wave sin 1 0.25 0 1
  331.         tcMod scroll 5 7
  332.         tcMod scale 9 7
  333.     }
  334.     {
  335.         map gfx/effects/decoystatic
  336.         blendFunc GL_ONE GL_ZERO
  337.         rgbGen wave sin 1 0.5 0 1
  338.         tcMod scroll -2 -1
  339.         tcMod scale 55 55
  340.     }
  341.     {
  342.         map textures/yavin/ycamera
  343.         blendFunc GL_ONE GL_SRC_ALPHA
  344.     }
  345.     {
  346.         map $lightmap
  347.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  348.     }
  349.     {
  350.         map textures/yavin/ycameraglow
  351.         blendFunc GL_ONE GL_ONE
  352.         rgbGen wave square 0 1 0 1
  353.     }
  354. }
  355.  
  356. textures/yavin/yswitch
  357. {
  358.     {
  359.         map $lightmap
  360.     }
  361.     {
  362.         map textures/yavin/yswitch
  363.         blendFunc GL_DST_COLOR GL_ZERO
  364.     }
  365.     {
  366.         map textures/yavin/yswitchglow
  367.         blendFunc GL_ONE GL_ONE
  368.         rgbGen wave square 0 1 0 1
  369.     }
  370.     {
  371.         map textures/yavin/yswitcha
  372.         blendFunc GL_ONE GL_ONE
  373.         rgbGen wave sin 1 0.05 0 5
  374.     }
  375. }
  376.  
  377. textures/yavin/yswitchon
  378. {
  379.     qer_editorimage    textures/yavin/yswitch
  380.     {
  381.         map $lightmap
  382.     }
  383.     {
  384.         map textures/yavin/yswitch2
  385.         blendFunc GL_DST_COLOR GL_ZERO
  386.     }
  387.     {
  388.         map textures/yavin/yswitchglow
  389.         blendFunc GL_ONE GL_ONE
  390.         rgbGen wave sin 1 0.2 0 5
  391.     }
  392.     {
  393.         map textures/yavin/yswitchglow2
  394.         blendFunc GL_ONE GL_ONE
  395.         rgbGen wave sin 1 0.05 0 5
  396.     }
  397. }
  398.  
  399. textures/yavin/ydoorswitch
  400. {
  401.     {
  402.         map $lightmap
  403.     }
  404.     {
  405.         map textures/yavin/ydoorswitch
  406.         blendFunc GL_DST_COLOR GL_ZERO
  407.     }
  408.     {
  409.         map textures/yavin/ydoorswitchglow1
  410.         blendFunc GL_ONE GL_ONE
  411.         rgbGen wave square 1 1 0 1
  412.     }
  413.     {
  414.         map textures/yavin/ydoorswitchglow1a
  415.         blendFunc GL_ONE GL_ONE
  416.         rgbGen wave sin 1 0.05 0 5
  417.     }
  418. }
  419.  
  420. textures/yavin/ydoorswitchon
  421. {
  422.     qer_editorimage    textures/yavin/ydoorswitch
  423.     {
  424.         map $lightmap
  425.     }
  426.     {
  427.         map textures/yavin/ydoorswitch
  428.         blendFunc GL_DST_COLOR GL_ZERO
  429.     }
  430.     {
  431.         map textures/yavin/ydoorswitchglow2
  432.         blendFunc GL_ONE GL_ONE
  433.         rgbGen wave sin 1 0.05 -0.5 5
  434.     }
  435.     {
  436.         map textures/yavin/ydoorswitchglow1
  437.         blendFunc GL_ONE GL_ONE
  438.     }
  439. }
  440.  
  441. textures/yavin/yeleswitchon
  442. {
  443.     qer_editorimage    textures/yavin/yeleswitch
  444.     {
  445.         map $lightmap
  446.     }
  447.     {
  448.         map textures/yavin/yeleswitch
  449.         blendFunc GL_DST_COLOR GL_ZERO
  450.     }
  451.     {
  452.         map textures/yavin/yeleswitchglow
  453.         blendFunc GL_ONE GL_ONE
  454.     }
  455.     {
  456.         map textures/yavin/yeleswitchglow2
  457.         blendFunc GL_ONE GL_ONE
  458.         rgbGen wave sawtooth 0 1 0 1
  459.     }
  460. }
  461.  
  462. textures/yavin/light_yellow
  463. {
  464.     q3map_flare    gfx/misc/flare
  465.     {
  466.         map $lightmap
  467.     }
  468.     {
  469.         map textures/yavin/light_yellow
  470.         blendFunc GL_DST_COLOR GL_ZERO
  471.     }
  472.     {
  473.         map textures/yavin/light_yellowglow
  474.         blendFunc GL_ONE GL_ONE
  475.     }
  476. }
  477.  
  478. textures/yavin/water1_nofog
  479. {
  480.     qer_editorimage    textures/yavin/water1
  481.     surfaceparm    nonsolid
  482.     surfaceparm    nonopaque
  483.     surfaceparm    water
  484.     surfaceparm    trans
  485.     q3map_material    Water
  486.     q3map_nolightmap
  487.     q3map_onlyvertexlighting
  488.     {
  489.         map textures/yavin/water1
  490.         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  491.         rgbGen exactVertex
  492.         alphaGen const 0.9
  493.         tcMod turb 0 0.08 0.04 0.08
  494.         tcMod scroll -0.05 -0.001
  495.         tcMod scale 3 3
  496.     }
  497.     {
  498.         map textures/yavin/water1
  499.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  500.         alphaGen const 0.33
  501.         tcMod turb 0 0.08 0.04 0.08
  502.         tcMod scale 3 3
  503.     }
  504.     {
  505.         map textures/yavin/water_test
  506.         blendFunc GL_DST_COLOR GL_ONE
  507.         tcMod scroll 0.05 0.1
  508.         tcMod scale 3 3
  509.     }
  510. }
  511.  
  512. textures/yavin/yeleswitch
  513. {
  514.     qer_editorimage    textures/yavin/yeleswitch
  515.     {
  516.         map $lightmap
  517.     }
  518.     {
  519.         map textures/yavin/yeleswitch
  520.         blendFunc GL_DST_COLOR GL_ZERO
  521.     }
  522.     {
  523.         map textures/yavin/yeleswitchglow
  524.         blendFunc GL_ONE GL_ONE
  525.         rgbGen wave square 1 0.5 0 1
  526.     }
  527. }
  528.  
  529. textures/yavin/rock2
  530. {
  531.     q3map_nolightmap
  532.     {
  533.         map textures/yavin/rock2
  534.     }
  535. }
  536.  
  537. textures/yavin/crate03
  538. {
  539.     {
  540.         map $lightmap
  541.     }
  542.     {
  543.         map textures/yavin/crate03
  544.         blendFunc GL_DST_COLOR GL_ZERO
  545.     }
  546.     {
  547.         map textures/yavin/crate03_glow
  548.         blendFunc GL_ONE GL_ONE
  549.     }
  550. }
  551.  
  552. textures/yavin/control01
  553. {
  554.     {
  555.         map $lightmap
  556.     }
  557.     {
  558.         map textures/yavin/control01
  559.         blendFunc GL_DST_COLOR GL_ZERO
  560.     }
  561.     {
  562.         map textures/yavin/control01_glw
  563.         blendFunc GL_ONE GL_ONE
  564.     }
  565. }
  566.  
  567. textures/yavin/stone_tile2
  568. {
  569.     {
  570.         map $lightmap
  571.     }
  572.     {
  573.         map textures/yavin/stone_tile2
  574.         blendFunc GL_DST_COLOR GL_ZERO
  575.     }
  576.     {
  577.         map textures/yavin/stone_tile2_glow
  578.         blendFunc GL_ONE GL_ONE
  579.     }
  580. }
  581.  
  582. textures/yavin/temple_vinesalpha
  583. {
  584.     {
  585.         map textures/yavin/temple_vinesalpha
  586.         alphaFunc GE128
  587.         blendFunc GL_SRC_ALPHA GL_ZERO
  588.         depthWrite
  589.     }
  590.     {
  591.         map $lightmap
  592.         blendFunc GL_ONE GL_ZERO
  593.         depthFunc equal
  594.     }
  595.     {
  596.         map textures/yavin/temple_vinesalpha
  597.         blendFunc GL_DST_COLOR GL_ZERO
  598.         depthFunc equal
  599.     }
  600. }
  601.  
  602. textures/yavin/water_test
  603. {
  604.     qer_editorimage    textures/yavin/water1
  605.     surfaceparm    nonsolid
  606.     surfaceparm    nonopaque
  607.     surfaceparm    water
  608.     surfaceparm    fog
  609.     surfaceparm    trans
  610.     q3map_material    Water
  611.     q3map_nolightmap
  612.     q3map_onlyvertexlighting
  613.     fogparms    ( 0.145098 0.192157 0.0431373 ) 512.0
  614.     {
  615.         map textures/yavin/water1
  616.         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  617.         rgbGen exactVertex
  618.         alphaGen const 0.9
  619.         tcMod turb 0 0.08 0.04 0.08
  620.         tcMod scroll -0.05 -0.001
  621.         tcMod scale 3 3
  622.     }
  623.     {
  624.         map textures/yavin/water1
  625.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  626.         alphaGen const 0.33
  627.         tcMod turb 0 0.08 0.04 0.08
  628.         tcMod scale 3 3
  629.     }
  630.     {
  631.         map textures/yavin/water_pass1
  632.         blendFunc GL_DST_COLOR GL_SRC_ALPHA
  633.         tcMod scale 3 3
  634.         tcMod turb 0 0.2 0 0.1
  635.         tcMod scroll 0.1 0.2
  636.     }
  637. }
  638.  
  639. textures/yavin/water_test2
  640. {
  641.     qer_editorimage    textures/yavin/water1
  642.     surfaceparm    nonsolid
  643.     surfaceparm    nonopaque
  644.     surfaceparm    water
  645.     surfaceparm    fog
  646.     surfaceparm    trans
  647.     q3map_material    Water
  648.     q3map_nolightmap
  649.     q3map_onlyvertexlighting
  650.     fogparms    ( 0.145098 0.192157 0.0431373 ) 512.0
  651.     {
  652.         map textures/yavin/water1
  653.         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  654.         rgbGen exactVertex
  655.         alphaGen const 0.9
  656.         tcMod turb 0 0.08 0.04 0.08
  657.         tcMod scroll -0.05 -0.001
  658.         tcMod scale 3 3
  659.     }
  660.     {
  661.         map textures/yavin/water1
  662.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  663.         alphaGen const 0.33
  664.         tcMod turb 0 0.08 0.04 0.08
  665.         tcMod scale 3 3
  666.     }
  667.     {
  668.         map textures/yavin/water_test
  669.         blendFunc GL_DST_COLOR GL_ONE
  670.         tcMod scale 3 3
  671.         tcMod scroll 0.05 0.1
  672.     }
  673. }
  674.  
  675. textures/yavin/water_test3
  676. {
  677.     qer_editorimage    textures/yavin/water1
  678.     surfaceparm    nonsolid
  679.     surfaceparm    nonopaque
  680.     surfaceparm    water
  681.     surfaceparm    fog
  682.     surfaceparm    trans
  683.     q3map_material    Water
  684.     q3map_nolightmap
  685.     q3map_onlyvertexlighting
  686.     fogparms    ( 0.145098 0.192157 0.0431373 ) 512.0
  687.     {
  688.         map textures/yavin/water_test
  689.         blendFunc GL_ONE GL_SRC_COLOR
  690.         rgbGen exactVertex
  691.         alphaGen const 0.9
  692.         tcMod turb 0 0.08 0.04 0.08
  693.         tcMod scroll -0.05 -0.001
  694.         tcMod scale 3 3
  695.     }
  696.     {
  697.         map textures/yavin/water_test2
  698.         blendFunc GL_ONE_MINUS_SRC_ALPHA GL_ONE
  699.         alphaGen const 0.33
  700.         tcMod turb 0 0.08 0.04 0.08
  701.         tcMod scale 3 3
  702.     }
  703. }
  704.  
  705. textures/yavin/water_test4
  706. {
  707.     qer_editorimage    textures/yavin/water1
  708.     surfaceparm    nonsolid
  709.     surfaceparm    nonopaque
  710.     surfaceparm    water
  711.     surfaceparm    fog
  712.     surfaceparm    trans
  713.     q3map_material    Water
  714.     q3map_nolightmap
  715.     q3map_onlyvertexlighting
  716.     fogparms    ( 0.145098 0.192157 0.0431373 ) 512.0
  717.     {
  718.         map textures/yavin/water_test3
  719.         blendFunc GL_ONE GL_SRC_COLOR
  720.         rgbGen exactVertex
  721.         alphaGen const 0.9
  722.         tcMod turb 0 0.08 0.04 0.08
  723.         tcMod scroll -0.05 -0.001
  724.         tcMod scale 2 2
  725.     }
  726.     {
  727.         map textures/yavin/water1
  728.         blendFunc GL_ONE GL_SRC_COLOR
  729.         alphaGen const 0.33
  730.         tcMod turb 0 0.08 0.04 0.08
  731.         tcMod scale 3 3
  732.     }
  733. }
  734.  
  735. textures/yavin/water_test5
  736. {
  737.     qer_editorimage    textures/yavin/water1
  738.     surfaceparm    nonsolid
  739.     surfaceparm    nonopaque
  740.     surfaceparm    water
  741.     surfaceparm    fog
  742.     surfaceparm    trans
  743.     q3map_material    Water
  744.     q3map_nolightmap
  745.     q3map_onlyvertexlighting
  746.     fogparms    ( 0.145098 0.192157 0.0431373 ) 512.0
  747.     {
  748.         map textures/yavin/water1
  749.         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  750.         rgbGen exactVertex
  751.         alphaGen const 0.9
  752.         tcMod turb 0 0.08 0.04 0.08
  753.         tcMod scroll -0.05 -0.001
  754.         tcMod scale 3 3
  755.     }
  756.     {
  757.         map textures/yavin/water1
  758.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  759.         alphaGen const 0.33
  760.         tcMod turb 0 0.08 0.04 0.08
  761.         tcMod scale 3 3
  762.     }
  763.     {
  764.         map textures/yavin/water_test3
  765.         blendFunc GL_DST_COLOR GL_ONE
  766.         tcMod rotate 2
  767.         tcMod scroll 0.025 0.035
  768.         tcMod scale 3 3
  769.     }
  770. }
  771.  
  772. textures/yavin/temple_illusion
  773. {
  774.     qer_editorimage    textures/yavin/temple_interiorsmall2
  775.     surfaceparm    nonsolid
  776.     {
  777.         map $lightmap
  778.     }
  779.     {
  780.         map textures/yavin/temple_interiorsmall2
  781.         blendFunc GL_DST_COLOR GL_ZERO
  782.         tcMod turb 0 0.03 0 0.075
  783.     }
  784. }
  785.  
  786. textures/yavin/slime
  787. {
  788.     qer_editorimage    textures/yavin/water1
  789.     surfaceparm    nonsolid
  790.     surfaceparm    nonopaque
  791.     surfaceparm    lava
  792.     surfaceparm    water
  793.     surfaceparm    trans
  794.     q3map_material    Water
  795.     q3map_nolightmap
  796.     q3map_onlyvertexlighting
  797.     {
  798.         map textures/yavin/water1
  799.         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  800.         rgbGen exactVertex
  801.         alphaGen const 0.9
  802.         tcMod turb 0 0.08 0.04 0.08
  803.         tcMod scroll -0.05 -0.001
  804.         tcMod scale 3 3
  805.     }
  806.     {
  807.         map textures/yavin/water1
  808.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  809.         alphaGen const 0.33
  810.         tcMod turb 0 0.08 0.04 0.08
  811.         tcMod scale 3 3
  812.     }
  813.     {
  814.         map textures/yavin/water_test
  815.         blendFunc GL_DST_COLOR GL_ONE
  816.         tcMod scroll 0.05 0.1
  817.         tcMod scale 3 3
  818.     }
  819. }
  820.  
  821. textures/yavin/grasspatchy_sprite
  822. {
  823.     qer_editorimage    textures/yavin/grasspatchy3
  824.     q3map_nolightmap
  825.     {
  826.         map textures/yavin/grasspatchy3
  827.     }
  828.     {
  829.         map gfx/sprites/ss_grass_grasspatchy2
  830.             surfaceSprites vertical 32 20 35 800
  831.             ssFademax 1500
  832.             ssFadescale 2
  833.             ssVariance 1 2
  834.             ssWind 0.8
  835.         alphaFunc GE192
  836.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  837.         depthWrite
  838.         rgbGen vertex
  839.     }
  840. }
  841.  
  842. textures/yavin/grasspatchy_sm_sprite
  843. {
  844.     qer_editorimage    textures/yavin/grasspatchy3
  845.     q3map_nolightmap
  846.     {
  847.         map textures/yavin/grasspatchy3
  848.     }
  849.     {
  850.         map gfx/sprites/ss_grass_grasspatchy
  851.             surfaceSprites vertical 8 8 40 200
  852.             ssFademax 600
  853.             ssFadescale 2
  854.             ssVariance 1 1
  855.             ssWind 0.2
  856.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  857.         rgbGen vertex
  858.     }
  859. }
  860.  
  861. textures/yavin/dirtgrasscorner_sprite
  862. {
  863.     qer_editorimage    textures/yavin/dirtgrasscorner
  864.     q3map_nolightmap
  865.     {
  866.         map textures/yavin/dirtgrasscorner
  867.     }
  868.     {
  869.         map gfx/sprites/rock_sm
  870.             surfaceSprites oriented 2 2 100 200
  871.             ssFademax 400
  872.             ssVariance 2 1.5
  873.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  874.         rgbGen vertex
  875.     }
  876. }
  877.  
  878. textures/yavin/dirtgrassedge_sprite
  879. {
  880.     qer_editorimage    textures/yavin/dirtgrassedge
  881.     q3map_nolightmap
  882.     {
  883.         map textures/yavin/dirtgrassedge
  884.     }
  885.     {
  886.         map gfx/sprites/rock_sm
  887.             surfaceSprites oriented 2 2 100 200
  888.             ssFademax 400
  889.             ssVariance 2 1.5
  890.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  891.         rgbGen vertex
  892.     }
  893. }
  894.  
  895. textures/yavin/dirt1_sprite
  896. {
  897.     qer_editorimage    textures/yavin/dirt1
  898.     q3map_nolightmap
  899.     {
  900.         map textures/yavin/dirt1
  901.     }
  902.     {
  903.         map gfx/sprites/rock_sm
  904.             surfaceSprites oriented 2 2 64 200
  905.             ssFademax 400
  906.             ssVariance 2 1.5
  907.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  908.         rgbGen vertex
  909.     }
  910. }
  911.  
  912. textures/yavin/grasspatchy2
  913. {
  914.     qer_editorimage    textures/yavin/grasspatchy3
  915.     q3map_nolightmap
  916.     {
  917.         map textures/yavin/grasspatchy3
  918.     }
  919.     {
  920.         map gfx/sprites/ss_grass_grasspatchy
  921.             surfaceSprites vertical 32 20 35 800
  922.             ssFademax 1500
  923.             ssFadescale 2
  924.             ssVariance 1 2
  925.             ssWind 0.8
  926.         alphaFunc GE192
  927.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  928.         depthWrite
  929.         rgbGen vertex
  930.     }
  931. }
  932.  
  933. textures/yavin/doorlight_red
  934. {
  935.     {
  936.         map $lightmap
  937.     }
  938.     {
  939.         map textures/yavin/doorlight_red
  940.         blendFunc GL_DST_COLOR GL_ZERO
  941.     }
  942.     {
  943.         map textures/yavin/doorlight_red_glw
  944.         blendFunc GL_ONE GL_ONE
  945.     }
  946. }
  947.  
  948. textures/yavin/doorlight_green
  949. {
  950.     {
  951.         map $lightmap
  952.     }
  953.     {
  954.         map textures/yavin/doorlight_green
  955.         blendFunc GL_DST_COLOR GL_ZERO
  956.     }
  957.     {
  958.         map textures/yavin/doorlight_green_glw
  959.         blendFunc GL_ONE GL_ONE
  960.     }
  961. }
  962.  
  963. textures/yavin/swater1
  964. {
  965.     qer_editorimage    textures/yavin/water1
  966.     surfaceparm    nonsolid
  967.     surfaceparm    water
  968.     surfaceparm    fog
  969.     surfaceparm    trans
  970.     q3map_material    Water
  971.     q3map_nolightmap
  972.     q3map_onlyvertexlighting
  973.     fogparms    ( 0.113725 0.121569 0.0431373 ) 512.0
  974. }
  975.  
  976. textures/yavin/swater1_2sided
  977. {
  978.     qer_editorimage    textures/yavin/water1
  979.     q3map_tesssize    256
  980.     surfaceparm    slick
  981.     q3map_nolightmap
  982.     q3map_onlyvertexlighting
  983.     cull    disable
  984.     {
  985.         map textures/yavin/water1
  986.         blendFunc GL_ONE GL_ZERO
  987.         rgbGen exactVertex
  988.         alphaGen const 0.9
  989.         tcMod turb 0 0.08 0.04 0.08
  990.         tcMod scroll -0.05 -0.001
  991.     }
  992.     {
  993.         map textures/yavin/water_test
  994.         blendFunc GL_DST_COLOR GL_ZERO
  995.         tcMod turb 0 0.1 0.4 0.09
  996.     }
  997.     {
  998.         clampmap gfx/sprites/rainring2
  999.             surfaceSprites effect 1 1 48 300
  1000.             ssVariance 2 1
  1001.             ssFaceup
  1002.             ssFXDuration 800
  1003.             ssFXGrow 10 10
  1004.             ssFXAlphaRange 1 0.05
  1005.             ssFXWeather
  1006.         blendFunc GL_ONE GL_ONE
  1007.         detail
  1008.     }
  1009.     {
  1010.         clampmap gfx/sprites/bubble2
  1011.             surfaceSprites effect 0.6 0.45 48 300
  1012.             ssVariance 1 1
  1013.             ssFXDuration 800
  1014.             ssFXGrow 2 2
  1015.             ssFXAlphaRange 0.4 0
  1016.             ssFXWeather
  1017.         blendFunc GL_ONE GL_ONE
  1018.         detail
  1019.     }
  1020.     {
  1021.         clampmap gfx/sprites/fog
  1022.             surfaceSprites effect 20 8 50 300
  1023.             ssFademax 1000
  1024.             ssFadescale 2
  1025.             ssVariance 2 1
  1026.             ssWind 4
  1027.             ssFXDuration 5000
  1028.             ssFXGrow 2 2
  1029.             ssFXAlphaRange 0.75 0
  1030.             ssFXWeather
  1031.         blendFunc GL_ONE GL_ONE
  1032.         detail
  1033.     }
  1034. }
  1035.  
  1036. textures/yavin/swater_opaque_bottom
  1037. {
  1038.     qer_editorimage    textures/yavin/water1
  1039.     q3map_tesssize    256
  1040.     surfaceparm    slick
  1041.     q3map_nolightmap
  1042.     q3map_onlyvertexlighting
  1043.     cull    disable
  1044.     {
  1045.         map textures/yavin/water1
  1046.         blendFunc GL_ONE GL_ZERO
  1047.         rgbGen exactVertex
  1048.         alphaGen const 0.9
  1049.         tcMod turb 0 0.08 0.04 0.08
  1050.         tcMod scroll -0.05 -0.001
  1051.     }
  1052.     {
  1053.         map textures/yavin/water_test
  1054.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  1055.         tcMod turb 0 0.1 0.4 0.09
  1056.     }
  1057. }
  1058.  
  1059. textures/yavin/water_yavintrail
  1060. {
  1061.     qer_editorimage    textures/yavin/water1
  1062.     surfaceparm    nonsolid
  1063.     surfaceparm    nonopaque
  1064.     surfaceparm    water
  1065.     surfaceparm    fog
  1066.     surfaceparm    trans
  1067.     q3map_material    Water
  1068.     q3map_nolightmap
  1069.     q3map_onlyvertexlighting
  1070.     fogparms    ( 0.145098 0.192157 0.0431373 ) 512.0
  1071.     cull    disable
  1072.     {
  1073.         map textures/yavin/water1
  1074.         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  1075.         rgbGen exactVertex
  1076.         alphaGen const 0.9
  1077.         tcMod turb 0 0.08 0.04 0.08
  1078.         tcMod scroll -0.05 -0.001
  1079.         tcMod scale 3 3
  1080.     }
  1081.     {
  1082.         map textures/yavin/water1
  1083.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1084.         alphaGen const 0.33
  1085.         tcMod turb 0 0.08 0.04 0.08
  1086.         tcMod scale 3 3
  1087.     }
  1088.     {
  1089.         map textures/yavin/water_test
  1090.         blendFunc GL_DST_COLOR GL_ONE
  1091.         tcMod scale 3 3
  1092.         tcMod scroll 0.05 0.1
  1093.     }
  1094. }
  1095.  
  1096. textures/yavin/groundjungle
  1097. {
  1098.     qer_editorimage    textures/yavin/groundjungle
  1099.     q3map_nolightmap
  1100.     cull    disable
  1101.     {
  1102.         map textures/yavin/groundjungle
  1103.     }
  1104. }
  1105.  
  1106. textures/yavin/waterfall
  1107. {
  1108.     qer_editorimage    textures/yavin/water1
  1109.     surfaceparm    slick
  1110.     surfaceparm    metalsteps
  1111.     q3map_nolightmap
  1112.     q3map_onlyvertexlighting
  1113.     cull    disable
  1114.     {
  1115.         map textures/yavin/water1
  1116.         blendFunc GL_ONE GL_ZERO
  1117.         rgbGen exactVertex
  1118.         alphaGen const 0.9
  1119.         tcMod scroll 0 -1
  1120.         tcMod scale 3 3
  1121.     }
  1122.     {
  1123.         map textures/yavin/water1
  1124.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1125.         alphaGen const 0.33
  1126.         tcMod scroll 0 -0.25
  1127.     }
  1128.     {
  1129.         map textures/yavin/water_test
  1130.         blendFunc GL_DST_COLOR GL_ONE
  1131.         tcMod scroll 0 -0.15
  1132.         tcMod scale 3 3
  1133.     }
  1134. }
  1135.  
  1136.