home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Inne / Gry / OpenArena / baseoa / pak0.pk3 / scripts / acc.shader next >
Encoding:
Text File  |  2007-08-09  |  9.6 KB  |  580 lines

  1. textures/acc_dm3/comptop
  2. {
  3.     surfaceparm metalsteps
  4.     {
  5.         map textures/acc_dm3/comptop.jpg
  6.     }
  7.     {
  8.         map $lightmap
  9.         rgbgen identity
  10.         blendfunc filter
  11.         depthfunc equal
  12.     }
  13. }
  14.  
  15. textures/acc_dm3/cop
  16. {
  17.     surfaceparm metalsteps
  18.     {
  19.         map textures/acc_dm3/cop.jpg
  20.     }
  21.     {
  22.         map $lightmap
  23.         rgbgen identity
  24.         blendfunc filter
  25.         depthfunc equal
  26.     }
  27. }
  28.  
  29. textures/acc_dm3/stripes_nonsolid
  30. {
  31.     qer_editorimage textures/acc_dm3/stripes.jpg
  32.     surfaceparm nonsolid
  33.     {
  34.         map textures/acc_dm3/stripes.jpg
  35.     }
  36.     {
  37.         map $lightmap
  38.         rgbgen identity
  39.         blendfunc filter
  40.         depthfunc equal
  41.     }
  42. }
  43.  
  44. textures/acc_dm3/grind
  45. {
  46.     qer_trans 0.5
  47.     q3map_lightimage textures/acc_dm3/grind.tga
  48.     surfaceparm trans
  49.     surfaceparm alphashadow
  50.     surfaceparm metalsteps
  51.     cull none
  52.     {
  53.         map textures/acc_dm3/grind.tga
  54.         blendfunc GL_ONE GL_ZERO
  55.         alphafunc GE128
  56.         depthwrite
  57.         rgbGen identity
  58.     }
  59.     {
  60.         map $lightmap
  61.         rgbgen identity
  62.         blendFunc GL_DST_COLOR GL_ZERO
  63.         depthfunc equal
  64.     }
  65. }
  66.  
  67. textures/acc_dm3/chrome
  68. {
  69.     q3map_nonplanar 
  70.     q3map_shadeAngle 150
  71.     surfaceparm nonsolid
  72.     {
  73.         map textures/acc_dm3/chrome.jpg
  74.     }
  75.     {
  76.         map $lightmap
  77.         rgbgen identity
  78.         blendfunc filter
  79.         depthfunc equal
  80.     }
  81. }
  82.  
  83. textures/acc_dm3/transrumbles
  84. {
  85.     qer_editorimage textures/acc_dm3/wallbotcracksb.jpg
  86.     surfaceparm nonsolid
  87.     {
  88.         map textures/acc_dm3/wallbotcracksb.jpg
  89.     }
  90.     {
  91.         map $lightmap
  92.         rgbgen identity
  93.         blendfunc filter
  94.         depthfunc equal
  95.     }
  96. }
  97.  
  98. textures/acc_dm3/fx_dm3sky
  99. {
  100.     surfaceparm nomarks
  101.     q3map_sun 0.5058 0.3843 0.2156 200 340 25
  102.     surfaceparm noimpact
  103.     surfaceparm nolightmap
  104.     surfaceparm sky
  105.     q3map_globaltexture
  106.     q3map_surfacelight 70
  107.     skyparms full 512 -
  108.     {
  109.         map textures/acc_dm3/sp_flatsky.jpg
  110.     }
  111.     {
  112.         map textures/acc_dm3/sp_flatsky2.tga
  113.         blendfunc blend
  114.         tcMod scroll 0.002 0.01
  115.         tcMod scale 3 3
  116.         rgbgen identity
  117.     }
  118. }
  119.  
  120. textures/acc_dm3/sp_ground
  121. {
  122.     q3map_nonplanar 
  123.     q3map_shadeAngle 70
  124.     surfaceparm nonsolid
  125.     {
  126.         map textures/acc_dm3/sp_ground.jpg
  127.     }
  128.     {
  129.         map $lightmap
  130.         rgbgen identity
  131.         blendfunc filter
  132.         depthfunc equal
  133.     }
  134. }
  135.  
  136. textures/acc_dm3/brwnwater
  137. {
  138.     surfaceparm trans
  139.     surfaceparm nonsolid
  140.     surfaceparm water
  141.     cull disable
  142.     {
  143.         map textures/acc_dm3/brwnwater.tga
  144.         blendFunc blend
  145.         tcmod scroll .025 -.01
  146.     }
  147.     {
  148.         map textures/acc_dm3/brwnwater.tga
  149.         blendFunc filter
  150.         tcmod scroll .05 -.007
  151.         tcmod turb .1 .1 .1 .1
  152.     }
  153. }
  154.  
  155. textures/acc_dm3/fx_portal
  156. {
  157.     qer_editorimage textures/acc_dm3/fx_portal.jpg
  158.     portal
  159.     surfaceparm nolightmap
  160.     surfaceparm nomarks
  161.     {
  162.         map textures/acc_dm3/portal_sfx.tga
  163.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  164.         depthWrite
  165.     }
  166.     {
  167.         map textures/acc_dm3/portal_fog.jpg
  168.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  169.         alphagen portal 1024
  170.         rgbGen identity    
  171.         tcmod rotate .1 
  172.         tcmod scroll .04 .01
  173.     }
  174.     {
  175.         map textures/acc_dm3/fx_tintedportal.jpg
  176.         rgbgen identity
  177.         blendFunc filter
  178.     }
  179. }
  180.  
  181. textures/acc_dm3/rustpipes
  182. {
  183.     surfaceparm nonsolid
  184.     {
  185.         map textures/acc_dm3/rustpipes.jpg
  186.     }
  187.     {
  188.         map $lightmap
  189.         rgbgen identity
  190.         blendfunc filter
  191.         depthfunc equal
  192.     }
  193. }
  194.  
  195. textures/acc_dm3/sqrlight
  196. {
  197.     surfaceparm nomarks
  198.     {
  199.         map textures/acc_dm3/sqrlight_dn.jpg
  200.     }
  201.     {
  202.         map textures/acc_dm3/fx_window.tga
  203.         tcgen environment
  204.         rgbgen identity
  205.         blendFunc blend
  206.         depthFunc equal
  207.     }
  208.     {
  209.         map textures/acc_dm3/sqrlight_up.tga
  210.         alphafunc GE128
  211.         depthwrite
  212.     }
  213. }
  214.  
  215. textures/acc_dm3/comp
  216. {
  217.     surfaceparm nomarks
  218.     surfaceparm metalsteps
  219.     {
  220.         map textures/acc_dm3/comp.jpg
  221.     }
  222.     {
  223.         map textures/acc_dm3/fx_window.tga
  224.         tcgen environment
  225.         rgbgen identity
  226.         blendFunc blend
  227.         depthFunc equal
  228.     }
  229.     {
  230.         map textures/acc_dm3/comp_up.tga
  231.         alphafunc GE128
  232.         depthwrite
  233.     }
  234.     {
  235.         map $lightmap
  236.         rgbgen identity
  237.         blendfunc filter
  238.         depthfunc equal
  239.     }
  240.     {
  241.         map textures/acc_dm3/comp_lght.tga
  242.         blendfunc blend
  243.     }
  244. }
  245.  
  246. textures/acc_dm3/decalcomputer
  247. {
  248.     surfaceparm trans
  249.     surfaceparm nolightmap
  250.     surfaceparm nomarks
  251.     surfaceparm nonsolid
  252.     polygonoffset
  253.     {
  254.         map textures/acc_dm3/decalcomputer.tga
  255.         blendfunc blend
  256.         rgbgen vertex
  257.     }
  258. }
  259.  
  260. textures/acc_dm3/wires1
  261. {
  262.     cull disable
  263.     surfaceparm trans
  264.     surfaceparm noimpact
  265.     surfaceparm nomarks
  266.     surfaceparm nonsolid
  267.     surfaceparm alphashadow
  268.     polygonoffset
  269.     {
  270.         map textures/acc_dm3/wires1.tga
  271.         alphafunc GE128
  272.         depthwrite
  273.     }
  274.     {
  275.         map $lightmap
  276.         rgbgen identity
  277.         blendfunc filter
  278.         depthfunc equal
  279.     }
  280. }
  281.  
  282. textures/acc_dm3/wires2
  283. {
  284.     cull disable
  285.     surfaceparm trans
  286.     surfaceparm noimpact
  287.     surfaceparm nomarks
  288.     surfaceparm nonsolid
  289.     surfaceparm alphashadow
  290.     polygonoffset
  291.     {
  292.         map textures/acc_dm3/wires2.tga
  293.         alphafunc GE128
  294.         depthwrite
  295.     }
  296.     {
  297.         map $lightmap
  298.         rgbgen identity
  299.         blendfunc filter
  300.         depthfunc equal
  301.     }
  302. }
  303.  
  304. textures/acc_dm3/decalitem
  305. {
  306.     surfaceparm trans
  307.     surfaceparm nolightmap
  308.     surfaceparm nomarks
  309.     surfaceparm nonsolid
  310.     polygonoffset
  311.     {
  312.         map textures/acc_dm3/decalitem.tga
  313.         blendfunc blend
  314.         rgbgen vertex
  315.     }
  316. }
  317.  
  318. textures/acc_dm3/ind_wall1
  319. {
  320.     surfaceparm trans
  321.     surfaceparm noimpact
  322.     surfaceparm nomarks
  323.     surfaceparm nonsolid
  324.     {
  325.         map textures/acc_dm3/ind_wall1.tga
  326.         alphafunc GE128
  327.         depthwrite
  328.     }
  329.     {
  330.         map $lightmap
  331.         rgbgen identity
  332.         blendfunc filter
  333.         depthfunc equal
  334.     }
  335. }
  336.  
  337. textures/acc_dm3/ind_x1
  338. {
  339.     surfaceparm trans
  340.     surfaceparm noimpact
  341.     surfaceparm nomarks
  342.     surfaceparm nonsolid
  343.     surfaceparm alphashadow
  344.     {
  345.         map textures/acc_dm3/ind_x1.tga
  346.         alphafunc GE128
  347.         depthwrite
  348.     }
  349.     {
  350.         map $lightmap
  351.         rgbgen identity
  352.         blendfunc filter
  353.         depthfunc equal
  354.     }
  355. }
  356.  
  357. textures/acc_dm5/flame
  358. {
  359.         q3map_flare textures/sfx/flameflare
  360.     qer_editorimage textures/acc_dm5/flame.tga
  361.     surfaceparm trans
  362.     surfaceparm nomarks
  363.     surfaceparm nonsolid
  364.     surfaceparm nolightmap
  365.     cull none
  366.     {
  367.         map textures/acc_dm5/flame.tga
  368.         tcMod Scroll 1 0
  369.         blendFunc blend
  370.     }
  371.     {
  372.         map textures/acc_dm5/flame.tga
  373.         blendFunc blend
  374.         tcMod Scroll -.6 0
  375.         rgbGen wave sin 2 0 .1 1.5
  376.     }
  377. }
  378.  
  379. textures/acc_dm5/fx_waterfall
  380. {
  381.     qer_editorimage textures/acc_dm5/fx_waterfall.jpg
  382.     surfaceparm noimpact
  383.     surfaceparm nonsolid
  384.     surfaceparm trans
  385.     cull none
  386.     deformVertexes wave 32 sin 1.5 1.7 .5 1
  387.     {
  388.         map textures/acc_dm5/WaterFall1B.tga
  389.         blendFunc blend
  390.         tcmod scale .5 .5
  391.         tcmod scroll 0.1 -1
  392.     }
  393.     {
  394.         map textures/acc_dm5/WaterFall1B.tga
  395.         blendFunc blend
  396.         tcmod turb .05 -0.5 0 0.02
  397.         tcmod scale .5 .5
  398.         tcmod scroll 0.1 -2
  399.     }
  400.     {
  401.         map textures/acc_dm5/WaterFall1A.tga
  402.         blendFunc blend
  403.         tcmod scale .5 .5
  404.         tcmod scroll .02 -3
  405.     }
  406. }
  407.  
  408. textures/acc_dm5/brwnwater
  409. {
  410.     surfaceparm trans
  411.     surfaceparm nonsolid
  412.     surfaceparm water
  413.     cull disable
  414.     deformVertexes wave 32 sin .7 .7 .7 .5
  415.     {
  416.         map textures/acc_dm5/brwnwater.tga
  417.         blendFunc blend
  418.         tcmod scroll .025 -.001
  419.     }
  420.     {
  421.         map textures/acc_dm5/brwnwater.tga
  422.         blendFunc blend
  423.         tcmod scroll .04 -.002
  424.         tcmod turb .05 -0.05 0.05 0.01
  425.     }
  426. }
  427.  
  428. textures/acc_dm5/fx_portal
  429. {
  430.     qer_editorimage textures/acc_dm5/fx_portal.jpg
  431.     portal
  432.     surfaceparm nolightmap
  433.     surfaceparm noimpact
  434.     {
  435.         map textures/acc_dm5/portal_sfx.tga
  436.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  437.         depthWrite
  438.     }
  439.     {
  440.         map textures/acc_dm5/portal_fog.jpg
  441.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  442.         alphagen portal 1024
  443.         rgbGen identity    
  444.         tcmod rotate .1 
  445.         tcmod scroll .04 .01
  446.     }
  447. }
  448.  
  449. textures/acc_dm5/fx_sky
  450. {
  451.     qer_editorimage textures/acc_dm5/fx_sky.jpg
  452.     q3map_sun 0.176 0.494 0.694 30 160 80
  453.     surfaceparm noimpact
  454.     surfaceparm nomarks
  455.     surfaceparm nolightmap
  456.     surfaceparm sky
  457.     q3map_globaltexture
  458.     q3map_surfacelight 20
  459.     skyParms full 700 -
  460.     {
  461.         map textures/acc_dm5/sky.tga
  462.         tcMod scroll -0.013 0.04
  463.     }
  464. }
  465.  
  466. textures/acc_dm5/fx_lums
  467. {
  468.     qer_editorimage textures/acc_dm5/fx_lums.jpg
  469.     surfaceparm trans
  470.     surfaceparm nonsolid
  471.     surfaceparm noimpact
  472.     surfaceparm nolightmap
  473.     surfaceparm nomarks
  474.     cull none
  475.     DeformVertexes autosprite
  476.  
  477.     {
  478.         map textures/acc_dm5/lum1c.tga
  479.         blendfunc blend
  480.         rgbGen wave sin 1 .5 0 .1
  481.         tcMod rotate 50
  482.         tcmod turb .2 -0.4 0.1 0.2
  483.     }
  484.     {
  485.         map textures/acc_dm5/lum1a.tga
  486.         tcmod scale 1.2 1.2
  487.         blendfunc blend
  488.         rgbGen wave sin 1 .5 0 .1
  489.         tcMod rotate -120
  490.     }
  491.     {
  492.         map textures/acc_dm5/lum1b.tga
  493.         blendfunc blend
  494.         tcmod scale 1 1
  495.         tcMod rotate 10
  496.     }
  497.     {
  498.         map textures/acc_dm5/lum1c.tga
  499.         blendfunc blend
  500.         tcmod scale 1 1
  501.         rgbGen wave sin 1 .5 0 .2
  502.         tcmod turb .5 -0.5 0.2 0.2
  503.     }
  504. }
  505.  
  506. textures/acc_dm5/mud_trans
  507. {
  508.     qer_editorimage textures/acc_dm5/mud02.jpg
  509.     surfaceparm nonsolid
  510.     cull none
  511.     {
  512.         map textures/acc_dm5/mud02.jpg
  513.     }
  514.     {
  515.         map $lightmap
  516.         rgbGen identity
  517.         blendFunc GL_DST_COLOR GL_ZERO
  518.     }
  519. }
  520.  
  521. textures/acc_dm5/roots_moss
  522. {
  523.     qer_editorimage textures/acc_dm5/roots_moss.jpg
  524.     surfaceparm nonsolid
  525.     cull none
  526.     {
  527.         map textures/acc_dm5/roots_moss.jpg
  528.     }
  529.     {
  530.         map $lightmap
  531.         rgbgen identity
  532.         blendfunc filter
  533.         depthfunc equal
  534.     }
  535. }
  536.  
  537. textures/acc_dm5/watershore
  538. {
  539.     qer_editorimage textures/acc_dm5/watershore.tga
  540.     surfaceparm noimpact
  541.     surfaceparm nonsolid
  542.     surfaceparm trans
  543.     cull none
  544.  
  545.     {
  546.         map textures/acc_dm5/watershore.tga
  547.         blendFunc blend
  548.         tcmod turb .05 -0.5 .1 0.02
  549.         tcmod scroll 0 -1.5
  550.         tcMod stretch sin 1 -0.01 0 0.1
  551.     }
  552.     {
  553.         map textures/acc_dm5/watershore.tga
  554.         blendFunc blend
  555.         tcmod scroll .1 -2
  556.     }
  557. }
  558.  
  559. textures/acc_dm5/woodenbarrier
  560. {
  561.     qer_trans 0.5
  562.     q3map_lightimage textures/acc_dm5/woodenbarrier.tga
  563.     cull none
  564.     surfaceparm alphashadow
  565.     surfaceparm trans
  566.     {
  567.         map textures/acc_dm5/woodenbarrier.tga
  568.         blendfunc GL_ONE GL_ZERO
  569.         alphafunc GE128
  570.         depthwrite
  571.         rgbGen identity
  572.     }
  573.     {
  574.         map $lightmap
  575.         rgbGen identity
  576.         blendFunc GL_DST_COLOR GL_ZERO
  577.         depthFunc equal
  578.     }
  579. }
  580.