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

  1. electricalExplosionSlow
  2. {
  3.     sort    additive
  4.     cull    disable
  5.     {
  6.         oneshotanimmap 6 gfx/misc/exp01_1.tga gfx/misc/exp01_2.tga gfx/misc/exp01_3.tga 
  7.         blendFunc GL_ONE GL_ONE
  8.         rgbGen wave inversesawtooth 0 1 0 6
  9.     }
  10.     {
  11.         oneshotanimmap 6 gfx/misc/exp01_2.tga gfx/misc/exp01_3.tga gfx/colors/black.tga 
  12.         blendFunc GL_ONE GL_ONE
  13.         rgbGen wave sawtooth 0 1 0 6
  14.     }
  15. }
  16.  
  17. surfaceExplosion
  18. {
  19.     sort    additive
  20.     cull    disable
  21.     {
  22.         oneshotanimmap 4 gfx/misc/exp02_1.tga gfx/misc/exp02_2.tga gfx/misc/exp02_3.tga 
  23.         blendFunc GL_ONE GL_ONE
  24.         rgbGen wave inversesawtooth 0 1 0 4
  25.     }
  26.     {
  27.         oneshotanimmap 4 gfx/misc/exp02_2.tga gfx/misc/exp02_3.tga gfx/colors/black.tga 
  28.         blendFunc GL_ONE GL_ONE
  29.         rgbGen wave sawtooth 0 1 0 4
  30.     }
  31. }
  32.  
  33. gfx/exp/rocket_explosion
  34. {
  35.     cull disable
  36.     {
  37.         oneshotanimmap 6 gfx/exp/rocket_1.tga gfx/exp/rocket_2.tga gfx/exp/rocket_3.tga gfx/exp/rocket_4.tga gfx/exp/rocket_5.tga gfx/exp/rocket_6.tga gfx/exp/rocket_7.tga gfx/colors/black.tga
  38.         blendFunc GL_ONE GL_ONE
  39.         rgbGen wave inversesawtooth 0.0  1.0  0.0 6
  40.     }
  41.  
  42.     {
  43.         oneshotanimmap 6  gfx/exp/rocket_2.tga gfx/exp/rocket_3.tga gfx/exp/rocket_4.tga gfx/exp/rocket_5.tga gfx/exp/rocket_6.tga gfx/exp/rocket_7.tga gfx/colors/black.tga
  44.         blendFunc GL_ONE GL_ONE
  45.         rgbGen wave sawtooth 0.0  1.0  0.0  6
  46.     }
  47. }
  48.  
  49. gfx/exp/slower_rocket_explosion
  50. {
  51.     cull disable
  52.     {
  53.         oneshotanimmap 9 gfx/exp/rocket_1.tga gfx/exp/rocket_2.tga gfx/exp/rocket_3.tga gfx/exp/rocket_4.tga gfx/exp/rocket_5.tga gfx/exp/rocket_6.tga gfx/exp/rocket_7.tga gfx/colors/black.tga
  54.         blendFunc GL_ONE GL_ONE
  55.         rgbGen wave inversesawtooth 0.0  1.0  0.0 9
  56.     }
  57.  
  58.     {
  59.         oneshotanimmap 9  gfx/exp/rocket_2.tga gfx/exp/rocket_3.tga gfx/exp/rocket_4.tga gfx/exp/rocket_5.tga gfx/exp/rocket_6.tga gfx/exp/rocket_7.tga gfx/colors/black.tga
  60.         blendFunc GL_ONE GL_ONE
  61.         rgbGen wave sawtooth 0.0  1.0  0.0  9
  62.     }
  63. }
  64.  
  65. gfx/exp/explosion1_a
  66. {
  67.     cull disable
  68.     {
  69.         oneshotanimmap 3 gfx/exp/exp1a_3.tga gfx/exp/exp1a_4.tga gfx/exp/exp1a_5.tga gfx/exp/exp1a_6.tga gfx/exp/exp1a_6.tga gfx/exp/exp1a_6.tga gfx/exp/exp1a_6.tga gfx/exp/rocketa_8.tga
  70.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  71.         alphaGen wave inversesawtooth 0.0  1.0  0.0 3
  72.         rgbGen vertex
  73.     }
  74.  
  75.     {
  76.         oneshotanimmap 3 gfx/exp/exp1a_4.tga gfx/exp/exp1a_5.tga gfx/exp/exp1a_6.tga gfx/exp/exp1a_6.tga gfx/exp/exp1a_6.tga gfx/exp/exp1a_6.tga gfx/exp/rocketa_8.tga
  77.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  78.         alphaGen wave sawtooth 0.0  1.0  0.0  3
  79.         rgbGen vertex
  80.     }
  81. }
  82.  
  83.  
  84. gfx/exp/explosion1
  85. {
  86.     cull disable
  87.     {
  88.         oneshotanimmap 7 gfx/exp/exp1_1.tga gfx/exp/exp1_2.tga gfx/exp/exp1_3.tga gfx/exp/exp1_4.tga gfx/exp/exp1_5.tga gfx/exp/exp1_6.tga gfx/exp/exp1_7.tga gfx/colors/black.tga
  89.         blendFunc GL_ONE GL_ONE
  90.         rgbGen wave inversesawtooth 0.0  1.0  0.0 7
  91.     }
  92.  
  93.     {
  94.         oneshotanimmap 7 gfx/exp/exp1_2.tga gfx/exp/exp1_3.tga gfx/exp/exp1_4.tga gfx/exp/exp1_5.tga gfx/exp/exp1_6.tga gfx/exp/exp1_7.tga gfx/colors/black.tga
  95.         blendFunc GL_ONE GL_ONE
  96.         rgbGen wave sawtooth 0.0  1.0  0.0  7
  97.     }
  98. }
  99.  
  100. gfx/exp/explosion2
  101. {
  102.     cull disable
  103.     {
  104.         oneshotanimmap 6 gfx/exp/exp2_1.tga gfx/exp/exp2_2.tga gfx/exp/exp2_3.tga gfx/exp/exp2_4.tga gfx/exp/exp2_5.tga gfx/exp/exp2_6.tga gfx/exp/exp2_7.tga gfx/colors/black.tga
  105.         blendFunc GL_ONE GL_ONE
  106.         rgbGen wave inversesawtooth 0.0  1.0  0.0 6
  107.     }
  108.  
  109.     {
  110.         oneshotanimmap 6 gfx/exp/exp2_2.tga gfx/exp/exp2_3.tga gfx/exp/exp2_4.tga gfx/exp/exp2_5.tga gfx/exp/exp2_6.tga gfx/exp/exp2_7.tga gfx/colors/black.tga
  111.         blendFunc GL_ONE GL_ONE
  112.         rgbGen wave sawtooth 0.0  1.0  0.0  6
  113.     }
  114. }
  115.  
  116. gfx/exp/explosion3
  117. {
  118.     cull disable
  119.     {
  120.         oneshotanimmap 6 gfx/exp/exp3_1.tga gfx/exp/exp3_2.tga gfx/exp/exp3_3.tga gfx/exp/exp3_4.tga gfx/exp/exp3_5.tga gfx/exp/exp3_6.tga gfx/exp/exp3_7.tga gfx/colors/black.tga
  121.         blendFunc GL_ONE GL_ONE
  122.         rgbGen wave inversesawtooth 0.0  1.0  0.0 6
  123.     }
  124.  
  125.     {
  126.         oneshotanimmap 6 gfx/exp/exp3_2.tga gfx/exp/exp3_3.tga gfx/exp/exp3_4.tga gfx/exp/exp3_5.tga gfx/exp/exp3_6.tga gfx/exp/exp3_7.tga gfx/colors/black.tga
  127.         blendFunc GL_ONE GL_ONE
  128.         rgbGen wave sawtooth 0.0  1.0  0.0  6
  129.     }
  130. }
  131.  
  132. gfx/exp/wookie
  133. {
  134.     cull disable
  135.     {
  136.         oneshotanimmap 17 gfx/exp/kwookie1.tga gfx/exp/kwookie2.tga gfx/exp/kwookie3.tga gfx/exp/kwookie4.tga gfx/exp/kwookie5.tga gfx/exp/kwookie6.tga gfx/colors/black.tga
  137.         blendFunc GL_ONE GL_ONE
  138.         rgbGen wave inversesawtooth 0.0  1.0  0.0 17
  139.     }
  140.  
  141.     {
  142.         oneshotanimmap 17 gfx/exp/kwookie2.tga gfx/exp/kwookie3.tga gfx/exp/kwookie4.tga gfx/exp/kwookie5.tga gfx/exp/kwookie6.tga gfx/colors/black.tga
  143.         blendFunc GL_ONE GL_ONE
  144.         rgbGen wave sawtooth 0.0  1.0  0.0  17
  145.     }
  146. }
  147.  
  148. gfx/exp/demp2
  149. {
  150.     cull disable
  151.     {
  152.         oneshotanimmap 17 gfx/exp/xelecimpact1.tga gfx/exp/xelecimpact2.tga gfx/exp/xelecimpact3.tga gfx/exp/xelecimpact4.tga gfx/exp/xelecimpact5.tga gfx/exp/xelecimpact6.tga gfx/colors/black.tga
  153.         blendFunc GL_ONE GL_ONE
  154.         rgbGen wave inversesawtooth 0.0  1.0  0.0 17
  155.     }
  156.  
  157.     {
  158.         oneshotanimmap 17 gfx/exp/xelecimpact2.tga gfx/exp/xelecimpact3.tga gfx/exp/xelecimpact4.tga gfx/exp/xelecimpact5.tga gfx/exp/xelecimpact6.tga gfx/colors/black.tga
  159.         blendFunc GL_ONE GL_ONE
  160.         rgbGen wave sawtooth 0.0  1.0  0.0  17
  161.     }
  162. }
  163.