home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2002 April / GSSH42002.iso / EDITOREN / JK2 / JK2EditingTools.exe / base / shaders / gfx2.shader < prev    next >
Encoding:
Text File  |  2002-02-20  |  8.0 KB  |  487 lines

  1. clear
  2. {
  3.     {
  4.         map gfx/effects/clear
  5.         blendFunc GL_ONE GL_ONE
  6.     }
  7. }
  8.  
  9. gfx/effects/stunPass
  10. {
  11.     cull    disable
  12.     {
  13.         map gfx/effects/stunpass
  14.         blendFunc GL_ONE GL_ONE
  15.         rgbGen vertex
  16.         tcMod scroll -3.5 0
  17.         tcMod scale 1.5 1
  18.     }
  19. }
  20.  
  21. gfx/effects/solidWhite
  22. {
  23.     nomipmaps
  24.     cull    disable
  25.     {
  26.         map gfx/effects/solidwhite
  27.         blendFunc GL_ONE GL_ONE
  28.         rgbGen vertex
  29.     }
  30. }
  31.  
  32. gfx/effects/bubble
  33. {
  34.     {
  35.         map gfx/effects/bubble
  36.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  37.         rgbGen vertex
  38.         alphaGen vertex
  39.     }
  40. }
  41.  
  42. gfx/effects/solidWhite_cull
  43. {
  44.     nomipmaps
  45.     {
  46.         map gfx/effects/solidwhite
  47.         blendFunc GL_ONE GL_ONE
  48.         rgbGen vertex
  49.     }
  50. }
  51.  
  52. gfx/effects/sparks1
  53. {
  54.     cull    disable
  55.     {
  56.         map gfx/effects/spark1
  57.         blendFunc GL_ONE GL_ONE
  58.         rgbGen vertex
  59.     }
  60. }
  61.  
  62. gfx/effects/sparks2
  63. {
  64.     cull    disable
  65.     {
  66.         map gfx/effects/spark2
  67.         blendFunc GL_ONE GL_ONE
  68.         rgbGen vertex
  69.     }
  70. }
  71.  
  72. gfx/effects/sparks3
  73. {
  74.     cull    disable
  75.     {
  76.         map gfx/effects/spark3
  77.         blendFunc GL_ONE GL_ONE
  78.         rgbGen vertex
  79.     }
  80. }
  81.  
  82. gfx/effects/lightning
  83. {
  84.     cull    disable
  85.     {
  86.         map gfx/effects/lightning
  87.         blendFunc GL_ONE GL_ONE
  88.         rgbGen vertex
  89.     }
  90. }
  91.  
  92. gfx/effects/whiteFlare
  93. {
  94.     cull    disable
  95.     {
  96.         map gfx/effects/whiteflare
  97.         blendFunc GL_ONE GL_ONE
  98.         rgbGen vertex
  99.     }
  100. }
  101.  
  102. gfx/effects/whiteFlareMult
  103. {
  104.     cull    disable
  105.     {
  106.         map gfx/effects/whiteflare
  107.         blendFunc GL_DST_COLOR GL_ONE
  108.         rgbGen vertex
  109.     }
  110. }
  111.  
  112. gfx/effects/glob
  113. {
  114.     cull    disable
  115.     {
  116.         map gfx/effects/glob
  117.         blendFunc GL_ONE GL_ONE
  118.         rgbGen vertex
  119.         tcMod rotate 3
  120.     }
  121.     {
  122.         map gfx/effects/glob
  123.         blendFunc GL_ONE GL_ONE
  124.         rgbGen vertex
  125.         tcMod rotate -5
  126.     }
  127. }
  128.  
  129. gfx/effects/jet3
  130. {
  131.     cull    disable
  132.     {
  133.         map gfx/effects/jet3
  134.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  135.         tcMod scroll 1 0
  136.     }
  137. }
  138.  
  139. gfx/effects/jet4
  140. {
  141.     cull    disable
  142.     {
  143.         map gfx/effects/jet4
  144.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  145.         tcMod scroll 1 0
  146.     }
  147. }
  148.  
  149. gfx/effects/flare1
  150. {
  151.     cull    disable
  152.     {
  153.         map gfx/effects/flare1
  154.         blendFunc GL_ONE GL_ONE
  155.         rgbGen vertex
  156.         tcMod rotate 4
  157.     }
  158. }
  159.  
  160. gfx/effects/meltMark
  161. {
  162.     polygonOffset
  163.     cull    disable
  164.     {
  165.         map gfx/effects/meltmark
  166.         blendFunc GL_ONE GL_ONE
  167.         rgbGen vertex
  168.     }
  169. }
  170.  
  171. gfx/effects/smokeTrail
  172. {
  173.     cull    disable
  174.     {
  175.         map gfx/effects/smoketrail
  176.         blendFunc GL_ONE GL_ONE
  177.         rgbGen vertex
  178.         tcMod scale 1 0.7
  179.         tcMod scroll 0 -0.2
  180.     }
  181.     {
  182.         map gfx/effects/smoketrail
  183.         blendFunc GL_ONE GL_ONE
  184.         rgbGen vertex
  185.         tcMod scale 1 0.3
  186.         tcMod scroll 0 -0.3
  187.     }
  188. }
  189.  
  190. gfx/effects/shield
  191. {
  192.     cull    disable
  193.     {
  194.         map gfx/effects/shield
  195.         blendFunc GL_ONE GL_ONE
  196.         rgbGen vertex
  197.     }
  198. }
  199.  
  200. gfx/effects/alpha_smoke
  201. {
  202.     cull    disable
  203.     {
  204.         map gfx/effects/alpha_smoke
  205.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  206.         rgbGen vertex
  207.         alphaGen vertex
  208.     }
  209. }
  210.  
  211. gfx/effects/alpha_smoke2
  212. {
  213.     cull    disable
  214.     {
  215.         map gfx/effects/alpha_smoke2
  216.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  217.         rgbGen vertex
  218.         alphaGen vertex
  219.     }
  220. }
  221.  
  222. gfx/effects/flamejet
  223. {
  224.     cull    disable
  225.     {
  226.         map gfx/effects/flamejet
  227.         blendFunc GL_ONE GL_ONE
  228.         rgbGen vertex
  229.     }
  230. }
  231.  
  232. gfx/effects/whiteFlash
  233. {
  234.     nomipmaps
  235.     sort    nearest
  236.     cull    disable
  237.     {
  238.         map gfx/effects/solidwhite
  239.         blendFunc GL_ONE GL_ONE
  240.         depthFunc disable
  241.         rgbGen vertex
  242.     }
  243. }
  244.  
  245. gfx/effects/electricShock
  246. {
  247.     cull    disable
  248.     {
  249.         map gfx/effects/electricshock
  250.         blendFunc GL_ONE GL_ONE
  251.         rgbGen vertex
  252.     }
  253. }
  254.  
  255. gfx/effects/electricShock2
  256. {
  257.     cull    disable
  258.     {
  259.         map gfx/effects/electricshock
  260.         blendFunc GL_ONE GL_ONE
  261.         rgbGen vertex
  262.         tcMod scale -1 1
  263.     }
  264. }
  265.  
  266. gfx/effects/burn
  267. {
  268.     deformvertexes    bulge    0 -0.2 0
  269.     {
  270.         map gfx/effects/burn
  271.         blendFunc GL_ONE GL_ONE
  272.         tcMod scale 4 3
  273.         tcMod scroll 1 0.6
  274.     }
  275. }
  276.  
  277. gfx/effects/pool1
  278. {
  279.     cull    disable
  280.     {
  281.         map gfx/effects/pool1
  282.         blendFunc GL_ONE GL_ONE
  283.         rgbGen wave sin 0.7 0.3 0.6 0
  284.         tcMod scroll 0.03 0
  285.         tcMod scale 5 1
  286.     }
  287. }
  288.  
  289. gfx/effects/pool2
  290. {
  291.     cull    disable
  292.     {
  293.         map gfx/effects/pool1
  294.         blendFunc GL_ONE GL_ONE
  295.         rgbGen wave sin 0.7 0.3 0.7 0
  296.         tcMod scroll 0.1 0
  297.         tcMod scale 3 1
  298.     }
  299. }
  300.  
  301. gfx/effects/pool_static
  302. {
  303.     cull    disable
  304.     {
  305.         map gfx/effects/static2
  306.         blendFunc GL_DST_COLOR GL_ONE
  307.         rgbGen const ( 0.700000 0.700000 0.300000 )
  308.         tcMod scroll -0.02 0
  309.         tcMod scale 7 3
  310.     }
  311. }
  312.  
  313. gfx/effects/whiteFlare2
  314. {
  315.     cull    disable
  316.     {
  317.         map gfx/effects/whiteflare2
  318.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  319.         rgbGen identity
  320.     }
  321. }
  322.  
  323. gfx/effects/invin_glow
  324. {
  325.     cull    disable
  326.     {
  327.         map gfx/effects/invin_glow2
  328.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  329.         rgbGen identity
  330.         tcMod scroll 1 0
  331.         tcMod scale 3 1
  332.     }
  333.     {
  334.         map gfx/effects/invin_glow2
  335.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  336.         rgbGen identity
  337.         tcMod scale -3 1
  338.         tcMod scroll -2 0
  339.     }
  340. }
  341.  
  342. gfx/effects/demp2shell
  343. {
  344.     cull    disable
  345.     {
  346.         map gfx/effects/plasma
  347.         blendFunc GL_ONE GL_ONE
  348.         rgbGen vertex
  349.         tcMod scale 2 3
  350.         tcMod scroll 1 0.5
  351.     }
  352.     {
  353.         map gfx/effects/plasma
  354.         blendFunc GL_ONE GL_ONE
  355.         rgbGen vertex
  356.         tcMod scale 3 2
  357.         tcMod scroll 0.5 2.6
  358.     }
  359. }
  360.  
  361. gfx/misc/electric2
  362. {
  363.     cull    disable
  364.     {
  365.         map gfx/misc/blue_bolt2
  366.         blendFunc GL_ONE GL_ONE
  367.         rgbGen vertex
  368.         tcMod scroll 0 -1.5
  369.         tcMod scale -1 2
  370.     }
  371. }
  372.  
  373. gfx/misc/ripple
  374. {
  375.     cull    disable
  376.     {
  377.         map gfx/misc/ripple
  378.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  379.         rgbGen identity
  380.     }
  381. }
  382.  
  383. gfx/misc/shockwave
  384. {
  385.     cull    disable
  386.     {
  387.         map gfx/misc/shockwave
  388.         blendFunc GL_ONE GL_ONE
  389.         rgbGen vertex
  390.         tcMod scale 2 1
  391.     }
  392. }
  393.  
  394. gfx/misc/whiteLine2
  395. {
  396.     cull    disable
  397.     {
  398.         map gfx/misc/whiteline2
  399.         blendFunc GL_ONE GL_ONE
  400.         rgbGen vertex
  401.     }
  402. }
  403.  
  404. gfx/misc/debugArrow
  405. {
  406.     cull    disable
  407.     {
  408.         map gfx/misc/debugarrow
  409.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  410.         rgbGen vertex
  411.         alphaGen vertex
  412.     }
  413. }
  414.  
  415. gfx/misc/debugAmbient
  416. {
  417.     cull    disable
  418.     {
  419.         map gfx/misc/debugambient
  420.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  421.         rgbGen vertex
  422.         alphaGen vertex
  423.     }
  424. }
  425.  
  426. gfx/misc/grayRing
  427. {
  428.     cull    disable
  429.     {
  430.         map gfx/misc/grayring
  431.         blendFunc GL_ONE GL_ONE
  432.         rgbGen vertex
  433.         tcMod scale 2 1
  434.     }
  435. }
  436.  
  437. gfx/2d/droid_view
  438. {
  439.     nomipmaps
  440.     cull    disable
  441.     {
  442.         clampmap gfx/2d/droid_view
  443.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  444.         rgbGen wave random 0.994 0.006 0 1
  445.     }
  446. }
  447.  
  448. models/players/reborn/boss_torso
  449. {
  450.     {
  451.         map models/players/reborn/boss_torso
  452.         blendFunc GL_ONE GL_ZERO
  453.         rgbGen lightingDiffuse
  454.     }
  455.     {
  456.         map models/players/reborn/boss_torso_s
  457.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  458.         rgbGen identity
  459.         alphaGen lightingSpecular
  460.     }
  461. }
  462.  
  463. gfx/world/haze
  464. {
  465.     cull    disable
  466.     {
  467.         map gfx/world/bhaze
  468.         blendFunc GL_ONE GL_ONE
  469.         rgbGen exactVertex
  470.         tcMod scale 0.006 0.004
  471.         tcMod scroll 0.1 0
  472.     }
  473. }
  474.  
  475. gfx/world/haze2
  476. {
  477.     cull    disable
  478.     {
  479.         map gfx/world/bhaze
  480.         blendFunc GL_ONE GL_ONE
  481.         rgbGen exactVertex
  482.         tcMod scale 0.008 0.007
  483.         tcMod scroll 0.08 0.09
  484.     }
  485. }
  486.  
  487.