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

  1. textures/gothic_block/largerblock3blood
  2. {
  3.  
  4.         {
  5.         map textures/liquids/proto_grueldark2.tga
  6.                 blendFunc GL_ONE GL_ZERO
  7.                 tcmod scale 2 2
  8.                 tcMod scroll .01 .03
  9.                 tcMod turb 0 0.05 0 .05
  10.         }
  11.         {
  12.         map textures/effects/tinfx3.tga
  13.                 blendFunc GL_ONE GL_ONE
  14.                 tcGen environment
  15.         }
  16.        
  17.     {
  18.             map textures/gothic_block/largerblock3blood.tga
  19.         blendFunc blend
  20.             rgbGen identity
  21.     }
  22.         {
  23.         map $lightmap
  24.                 blendFunc filter
  25.         rgbGen identity
  26.     }
  27. }
  28. textures/gothic_block/blocks17bloody
  29. {
  30.  
  31.         {
  32.         map textures/liquids/proto_grueldark2.tga
  33.                 blendFunc GL_ONE GL_ZERO
  34.                 tcmod scale 2 2
  35.                 tcMod scroll .01 .03
  36.                 tcMod turb 0 0.05 0 .05
  37.         }
  38.         {
  39.         map textures/effects/tinfx3.tga
  40.                 blendFunc GL_ONE GL_ONE
  41.                 tcGen environment
  42.         }
  43.        
  44.     {
  45.             map textures/gothic_block/blocks17bloody.tga
  46.         blendFunc blend
  47.             rgbGen identity
  48.     }
  49.         {
  50.         map $lightmap
  51.                 blendFunc filter
  52.         rgbGen identity
  53.     }
  54. }
  55. textures/gothic_block/blocks17g_ow
  56. {
  57.  
  58.         {
  59.         map textures/sfx/firegorre.tga
  60.                 tcmod scroll 0 1
  61.                 tcMod turb 0 .25 0 5.6
  62.                 tcmod scale 1.5 1.5
  63.                 blendFunc GL_ONE GL_ZERO
  64.                 rgbGen identity
  65.     }
  66.        
  67.     {
  68.             map textures/gothic_block/blocks17g_ow.tga
  69.         blendFunc blend
  70.             rgbGen identity
  71.     }
  72.         {
  73.         map $lightmap
  74.                 blendFunc filter
  75.         rgbGen identity
  76.     }
  77. }
  78. textures/gothic_block/blocks18b_ow
  79. {
  80.  
  81.         {
  82.         map textures/sfx/firegorre.tga
  83.                 tcmod scroll 0 1
  84.                 tcMod turb 0 .25 0 5.6
  85.                 tcmod scale 1.5 1.5
  86.                 blendFunc GL_ONE GL_ZERO
  87.                 rgbGen identity
  88.     }
  89.        
  90.     {
  91.             map textures/gothic_block/blocks18b_ow.tga
  92.         blendFunc blend
  93.             rgbGen identity
  94.     }
  95.         {
  96.         map $lightmap
  97.                 blendFunc filter
  98.         rgbGen identity
  99.     }
  100. }
  101. textures/gothic_door/skullarch_b
  102. {
  103.  
  104.         {
  105.         map textures/sfx/firegorre.tga
  106.                 tcmod scroll 0 1
  107.                 tcMod turb 0 .25 0 5.6
  108.                 tcmod scale 1.5 1.5
  109.                 blendFunc GL_ONE GL_ZERO
  110.                 rgbGen identity
  111.     }
  112.        
  113.     {
  114.             map textures/gothic_door/skullarch_b.tga
  115.         blendFunc blend
  116.             rgbGen identity
  117.     }
  118.         {
  119.         map $lightmap
  120.                 blendFunc filter
  121.         rgbGen identity
  122.     }
  123. }
  124. textures/gothic_block/blocks17_ow
  125. {
  126.  
  127.         {
  128.         map textures/sfx/firegorre.tga
  129.                 tcmod scroll 0 1
  130.                 tcMod turb 0 .25 0 5.6
  131.                 tcmod scale 1.5 1.5
  132.                 blendFunc GL_ONE GL_ZERO
  133.                 rgbGen identity
  134.     }
  135.        
  136.     {
  137.             map textures/gothic_block/blocks17_ow.tga
  138.         blendFunc blend
  139.             rgbGen identity
  140.     }
  141.         {
  142.         map $lightmap
  143.                 blendFunc filter
  144.         rgbGen identity
  145.     }
  146. }
  147. textures/gothic_block/blocks15cgeomtrn
  148. {
  149.  
  150.         {
  151.         map textures/sfx/firegorre.tga
  152.                 tcmod scroll 0 1
  153.                 tcMod turb 0 .25 0 1.6
  154.                 tcmod scale 2 2
  155.                 blendFunc GL_ONE GL_ZERO
  156.                 rgbGen identity
  157.     }
  158.         {
  159.             map textures/gothic_block/blocks18cgeomtrn2.tga
  160.         //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  161.                 blendFunc blend
  162.                 tcmod rotate 30
  163.                 tcMod stretch sin .8 0.2 0 .2
  164.             rgbGen identity
  165.     }
  166.         {
  167.             map textures/gothic_block/blocks18cgeomtrn2.tga
  168.         blendFunc blend
  169.                 tcmod rotate 20
  170.                 tcMod stretch sin .8 0.2 0 .1
  171.             rgbGen identity
  172.     }
  173.     {
  174.             map textures/gothic_block/blocks15cgeomtrn.tga
  175.         blendFunc blend
  176.             rgbGen identity
  177.     }
  178.         {
  179.         map $lightmap
  180.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  181.         rgbGen identity
  182.     }
  183. }
  184.  
  185. textures/gothic_block/killblockgeomtrn
  186. {
  187.  
  188.         {
  189.         map textures/sfx/firegorre.tga
  190.                 tcmod scroll 0 1
  191.                 tcMod turb 0 .25 0 1.6
  192.                 tcmod scale 2 2
  193.                 blendFunc GL_ONE GL_ZERO
  194.                 rgbGen identity
  195.     }
  196.         {
  197.             map textures/gothic_block/blocks18cgeomtrn2.tga
  198.         //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  199.                 blendFunc blend
  200.                 tcmod rotate 30
  201.                 tcMod stretch sin .8 0.2 0 .2
  202.             rgbGen identity
  203.     }
  204.         {
  205.             map textures/gothic_block/blocks18cgeomtrn2.tga
  206.         blendFunc blend
  207.                 tcmod rotate 20
  208.                 tcMod stretch sin .8 0.2 0 .1
  209.             rgbGen identity
  210.     }
  211.     {
  212.             map textures/gothic_block/killblockgeomtrn.tga
  213.         blendFunc blend
  214.             rgbGen identity
  215.     }
  216.         {
  217.         map $lightmap
  218.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  219.         rgbGen identity
  220.     }
  221. }
  222.  
  223. textures/gothic_block/blocks18cgeomtrn2
  224. {
  225.        cull disable
  226.        surfaceparm alphashadow
  227.         {
  228.             clampmap textures/gothic_block/blocks18cgeomtrn2.tga
  229.         alphaFunc GE128
  230.                 tcmod rotate 40
  231.                 tcMod stretch sin .8 0.2 0 .3
  232.             rgbGen identity
  233.     }
  234.         {
  235.             clampmap textures/gothic_block/blocks18cgeomtrn2.tga
  236.                 alphaFunc GE128
  237.                 tcmod rotate 30
  238.                 tcMod stretch sin .8 0.2 0 .2
  239.             rgbGen identity
  240.     }
  241.         {
  242.             clampmap textures/gothic_block/blocks18cgeomtrn2.tga
  243.         alphaFunc GE128
  244.                 tcmod rotate 20
  245.                 tcMod stretch sin .8 0.2 0 .1
  246.             rgbGen identity
  247.     }
  248.        
  249.         {
  250.         map $lightmap
  251.         rgbGen identity
  252.         blendFunc GL_DST_COLOR GL_ZERO
  253.         depthFunc equal
  254.     }
  255. }
  256. textures/gothic_block/blocks18cgeomtrn
  257. {
  258.  
  259.         {
  260.         map textures/sfx/firegorre.tga
  261.                 tcmod scroll 0 1
  262.                 tcMod turb 0 .25 0 1.6
  263.                 tcmod scale 2 2
  264.                 blendFunc GL_ONE GL_ZERO
  265.                 rgbGen identity
  266.     }
  267.         {
  268.             map textures/gothic_block/blocks18cgeomtrn2.tga
  269.         //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  270.                 blendFunc blend
  271.                 tcmod rotate 30
  272.                 tcMod stretch sin .8 0.2 0 .2
  273.             rgbGen identity
  274.     }
  275.         {
  276.             map textures/gothic_block/blocks18cgeomtrn2.tga
  277.         blendFunc blend
  278.                 tcmod rotate 20
  279.                 tcMod stretch sin .8 0.2 0 .1
  280.             rgbGen identity
  281.     }
  282.     {
  283.             map textures/gothic_block/blocks18cgeomtrn.tga
  284.         blendFunc blend
  285.             rgbGen identity
  286.     }
  287.         {
  288.         map $lightmap
  289.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  290.         rgbGen identity
  291.     }
  292. }
  293. textures/gothic_block/blocks18cgeomtrnx
  294. {
  295.  
  296.         {
  297.         map textures/sfx/fireswirl2blue.tga
  298.                 tcMod stretch sin .8 0.3 0 9.7
  299.                 tcmod rotate 333
  300.             rgbGen identity
  301.     }
  302.         {
  303.             map textures/gothic_block/blocks18cgeomtrn2.tga
  304.         blendFunc blend
  305.                 tcmod rotate 30
  306.                 tcMod stretch sin .8 0.2 0 .2
  307.             rgbGen identity
  308.     }
  309.         {
  310.             map textures/gothic_block/blocks18cgeomtrn2.tga
  311.         blendFunc blend
  312.                 tcmod rotate 20
  313.                 tcMod stretch sin .8 0.2 0 .1
  314.             rgbGen identity
  315.     }
  316.     {
  317.             map textures/gothic_block/blocks18cgeomtrnx.tga
  318.         blendFunc blend
  319.             rgbGen identity
  320.     }
  321.         {
  322.         map $lightmap
  323.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  324.         rgbGen identity
  325.     }
  326. }
  327. textures/gothic_block/demon_block15fx
  328. {
  329.  
  330.         {
  331.         map textures/sfx/firegorre.tga
  332.                 tcmod scroll 0 1
  333.                 tcMod turb 0 .25 0 1.6
  334.                 tcmod scale 4 4
  335.                 blendFunc GL_ONE GL_ZERO
  336.                 rgbGen identity
  337.     }
  338.     {
  339.             map textures/gothic_block/demon_block15fx.tga
  340.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  341.             rgbGen identity
  342.     }
  343.         {
  344.         map $lightmap
  345.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  346.         rgbGen identity
  347.     }
  348. }
  349. textures/gothic_block/blocks15_ow
  350. {
  351.  
  352.         {
  353.         map textures/liquids/proto_grueldark.tga
  354.                 tcmod scroll 0 -.05
  355.                 tcmod scale 4 4
  356.                 blendFunc GL_ONE GL_ZERO
  357.                 rgbGen identity
  358.     }
  359.         {
  360.         map textures/liquids/proto_grueldark.tga
  361.                 tcmod scroll 0.01 -.02
  362.                 tcmod scale 4 4
  363.                 blendFunc GL_ONE GL_ONE
  364.                 rgbGen identity
  365.     }
  366.     {
  367.             map textures/gothic_block/blocks15_ow.tga
  368.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  369.             rgbGen identity
  370.     }
  371.         {
  372.         map $lightmap
  373.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  374.         rgbGen identity
  375.     }
  376. }
  377. textures/gothic_block/xblocks17i_shiney
  378. {
  379.     qer_editorimage textures/gothic_block/xblocks17i_alpha.tga
  380.     {
  381.         map $lightmap
  382.         rgbgen identity      
  383.     }
  384.     
  385.     {
  386.         map textures/gothic_block/xblocks17i_alpha.tga
  387.         blendFunc GL_DST_COLOR GL_SRC_ALPHA
  388.         rgbGen identity
  389.         alphaGen lightingSpecular
  390.     }
  391. }
  392.  
  393. //***************************************************************
  394. //  This texture has a detail layer that is used to apply a 
  395. //  grainy overlay to the blocks17 texture
  396. //***************************************************************
  397. textures/gothic_block/blocks17_sandy
  398. {
  399.     qer_editorimage textures/gothic_block/blocks17.tga
  400.     q3map_globaltexture
  401.  {
  402.        map $lightmap
  403.        rgbGen identity
  404.  }
  405.     {
  406.         map textures/gothic_block/sand2.tga
  407.                 blendfunc GL_DST_COLOR GL_SRC_COLOR
  408.         rgbGen identity
  409.                 detail
  410.                 tcMod scale 2.90 2.234        
  411.     }
  412.     {
  413.         map textures/gothic_block/blocks17.tga
  414.         tcMod scale 0.25 0.25
  415.         blendfunc GL_DST_COLOR GL_ZERO
  416.         rgbGen identity
  417.     }
  418. }
  419. textures/gothic_block/wetwall
  420. {
  421.     // Moist, reflective smear on Blockwall Sore. Yummy Yum.
  422.         {
  423.             map textures/gothic_block/wetwall.tga
  424.             rgbGen identity
  425.     }
  426.         {
  427.         map textures/gothic_block/wetwallfx.tga
  428.                 tcmod scroll 0 -.1
  429.                 tcmod scale 2 .6
  430.                 blendFunc GL_ONE GL_ONE
  431.                 rgbGen identity
  432.     }
  433.     {
  434.             map textures/gothic_block/wetwall.tga
  435.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  436.             rgbGen identity
  437.     }
  438.         {
  439.         map $lightmap
  440.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  441.         rgbGen identity
  442.     }
  443. }
  444. //***************************************************************
  445. //  This texture has a detail layer that is used to apply a 
  446. //  grainy overlay to the blocks15 texture
  447. //***************************************************************
  448. textures/gothic_block/blocks15_sandy
  449. {
  450.     qer_editorimage textures/gothic_block/blocks15.tga
  451.     q3map_globaltexture
  452.  {
  453.        map $lightmap
  454.        rgbGen identity
  455.  }
  456.     {
  457.         map textures/gothic_block/sand2.tga
  458.                 blendfunc GL_DST_COLOR GL_SRC_COLOR
  459.         rgbGen identity
  460.                 detail
  461.                 tcMod scale 2.90 2.234        
  462.     }
  463.     {
  464.         map textures/gothic_block/blocks15.tga
  465.         tcMod scale 0.25 0.25
  466.         blendfunc GL_DST_COLOR GL_ZERO
  467.         rgbGen identity
  468.     }
  469. }
  470.  
  471. textures/gothic_block/evil_e3bwindow
  472. {
  473.     qer_editorimage textures/gothic_block/windowevil2c_killblock.tga
  474.     //surfaceparm nomarks
  475.     q3map_lightimage textures/gothic_block/evil2ckillblockglow.tga
  476.     q3map_surfacelight 200
  477.     // Glowing evil window for e3 demo map
  478.     {
  479.         map $lightmap
  480.         rgbGen identity
  481.     }
  482.     {
  483.         map textures/gothic_block/windowevil2c_killblock.tga
  484.         blendFunc GL_DST_COLOR GL_ZERO
  485.         rgbGen identity
  486.     }
  487.     {
  488.         map textures/gothic_block/evil2ckillblockglow.tga
  489.         blendfunc GL_ONE GL_ONE
  490.     }
  491. }
  492.  
  493.  
  494. textures/gothic_block/evil_e3window
  495. {
  496.     qer_editorimage textures/gothic_block/windowevil2c_block18c.tga
  497.     //surfaceparm nomarks
  498.     q3map_lightimage textures/gothic_block/evil2cglow.tga
  499.     q3map_surfacelight 1000
  500.     // Glowing evil window for e3 demo map
  501.     {
  502.         map $lightmap
  503.         rgbGen identity
  504.     }
  505.     {
  506.         map textures/gothic_block/windowevil2c_block18c.tga
  507.         blendFunc GL_DST_COLOR GL_ZERO
  508.         rgbGen identity
  509.     }
  510.     {
  511.         map textures/gothic_block/evil2cglow.tga
  512.         blendfunc GL_ONE GL_ONE
  513.     }
  514. }
  515. textures/gothic_block/evil_e3window_dark
  516. {
  517.     qer_editorimage textures/gothic_block/windowevil2c_block18c.tga
  518.     //surfaceparm nomarks
  519.     q3map_lightimage textures/gothic_block/evil2cglow.tga
  520.     q3map_surfacelight 100
  521.     // Glowing evil window for temp in tim_dm7
  522.     {
  523.         map $lightmap
  524.         rgbGen identity
  525.     }
  526.     {
  527.         map textures/gothic_block/windowevil2c_block18c.tga
  528.         blendFunc GL_DST_COLOR GL_ZERO
  529.         rgbGen identity
  530.     }
  531.     {
  532.         map textures/gothic_block/evil2cglow.tga
  533.         blendfunc GL_ONE GL_ONE
  534.     }
  535. }
  536.  
  537.  
  538. textures/gothic_block/blocks17gwater
  539.  
  540. {
  541.  
  542.     {    map textures/gothic_block/blocks17gwater.tga
  543.         blendfunc GL_dst_color GL_one
  544.         alphafunc GT0
  545.         depthwrite
  546.     }
  547.     
  548.  
  549.     {    map $lightmap
  550.         blendfunc gl_dst_color gl_one
  551.         tcgen environment
  552.         depthfunc equal
  553.     }
  554.     
  555. }
  556.  
  557.  
  558. textures/gothic_light/flicker_light15k
  559. {
  560.     qer_editorimage textures/gothic_light/gothic_light3.tga
  561.     q3map_lightimage textures/gothic_light/gothic_light2_blend.tga
  562.     q3map_surfacelight 15000
  563.     light 1
  564.     surfaceparm nomarks
  565.     {
  566.         map $lightmap
  567.         rgbGen wave noise 0.75 0.25 0 10
  568.     }
  569.     {
  570.         map textures/gothic_light/gothic_light3.tga
  571.         blendFunc GL_DST_COLOR GL_ZERO
  572.         rgbGen identity
  573.     }
  574.     {
  575.         map textures/gothic_light/gothic_light2_blend.tga
  576.         blendfunc GL_ONE GL_ONE
  577.         rgbGen wave noise 0.75 0.25 0 10
  578.     }
  579. }
  580. textures/gothic_block/flicker_blocks10
  581. {
  582.     qer_editorimage textures/gothic_block/blocks10.tga
  583.     {
  584.         map $lightmap
  585.         rgbGen identity
  586.     }
  587.     {
  588.         map textures/gothic_block/blocks10.tga
  589.         blendFunc GL_DST_COLOR GL_ZERO
  590.         rgbGen wave noise 0.75 0.25 0 10
  591.     }
  592. }
  593.  
  594. textures/gothic_block/gkc17d
  595. {
  596.     // spine texture with specular highlights
  597.     {
  598.         rgbGen identity
  599.         map $lightmap
  600.     }
  601.     {
  602.         map textures/gothic_block/gkc17d.tga
  603.         blendFunc GL_DST_COLOR GL_SRC_ALPHA
  604.         rgbGen identity
  605.         alphaGen lightingSpecular
  606.     }
  607. }
  608. textures/gothic_block/blocks11ct
  609. {
  610.     //cull twosided
  611.     surfaceparm trans
  612.     {
  613.         map textures/gothic_block/blocks11c.tga
  614.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  615.         rgbGen identity
  616.     }
  617.     {
  618.         map $lightmap
  619.         rgbGen identity
  620.         blendFunc GL_DST_COLOR GL_ZERO
  621.     }
  622. }
  623. //textures/gothic_block/blocks11ct
  624. //{
  625. //    *************************************************
  626. //    * JohnC's filter glass
  627. //    *************************************************
  628. //
  629. //    surfaceparm trans
  630. //    surfaceparm nolightmap
  631. //    surfaceparm    lightfilter
  632. //
  633. //    cull twosided
  634. //
  635. //    {
  636. //        map textures/hell/blocks11ct.tga
  637. //        blendFunc GL_DST_COLOR GL_ZERO
  638. //    }
  639. //}
  640.  
  641. textures/gothic_block/gkcspinemove
  642. {
  643.     qer_editorimage textures/gothic_block/gkc17d.tga
  644.     tessSize 128
  645. //    deformVertexes wave 100 sin 3 2 0 0.3
  646.     deformVertexes bulge 3 10 1
  647.     {
  648.         map $lightmap
  649.         rgbGen identity
  650.     }
  651.     {
  652.         map textures/gothic_block/gkc17d.tga
  653.         blendFunc GL_DST_COLOR GL_SRC_ALPHA
  654.         rgbGen identity
  655.         alphaGen lightingSpecular
  656.     }
  657.     
  658. }
  659. textures/gothic_block/electrohell    
  660. {
  661.     qer_editorimage textures/gothic_block/gkc14c.tga
  662.     //light 1    
  663.     q3map_surfacelight 400
  664.  
  665.     {
  666.         rgbGen identity
  667.         map $lightmap
  668.     }
  669.     {
  670.         map textures/gothic_block/gkc14c.tga
  671.         rgbGen identity
  672.         blendFunc GL_DST_COLOR GL_ZERO
  673.     }
  674.         
  675.     {
  676.         map textures/gothic_block/gkc14c.tga
  677.         blendFunc GL_ONE GL_ONE
  678.     }
  679.         {
  680.         map textures/sfx/electro2.tga
  681.         rgbGen wave sin .7 .7 0 2
  682.         tcMod rotate 1
  683.         tcMod turb 0 0.2 0 0.4
  684.         tcMod stretch sin 1 .5 0 .1
  685.         tcMod scroll .2 .2
  686.  
  687.         blendfunc GL_ONE GL_ONE
  688.     }
  689. }
  690. textures/gothic_block/mkc_evil_e3window
  691. {
  692.     qer_editorimage textures/gothic_block/windowevil2c_block18c.tga
  693.     //surfaceparm nomarks
  694.     q3map_lightimage textures/gothic_block/evil2cglow.tga
  695.     q3map_surfacelight 400
  696.     // Glowing evil window for pj_dm4
  697.     {
  698.         map $lightmap
  699.         rgbGen identity
  700.     }
  701.     {
  702.         map textures/gothic_block/windowevil2c_block18c.tga
  703.         blendFunc GL_DST_COLOR GL_ZERO
  704.         rgbGen identity
  705.     }
  706.     {
  707.         map textures/gothic_block/evil2cglow.tga
  708.         blendfunc GL_ONE GL_ONE
  709.     }
  710. }
  711. textures/gothic_block/blocks18d_trans
  712. {
  713.     qer_editorimage textures/gothic_block/blocks18d.tga
  714.     surfaceparm nonsolid
  715.     {
  716.         map $lightmap
  717.         rgbGen identity
  718.     
  719.     }
  720.     {
  721.         map textures/gothic_block/blocks18d.tga
  722.         rgbGen identity
  723.         blendFunc GL_DST_COLOR GL_ZERO
  724.     }
  725. }
  726.