home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Inne / Gry / OpenArena / baseoa / pak0.pk3 / scripts / weapon_bfg.shader < prev    next >
Encoding:
Text File  |  2008-07-12  |  2.4 KB  |  137 lines

  1. f_bfg3
  2. {
  3.     deformVertexes autosprite
  4.     {
  5.         clampmap models/weapons2/bfg/f_bfg3.tga
  6.         blendfunc add
  7.         rgbGen const ( 0.376471 0.576471 0.403922 )
  8.         tcMod rotate 8288
  9.     }
  10.     {
  11.         clampmap models/weapons2/bfg/f_bfg3.tga
  12.         blendfunc add
  13.         rgbGen const ( 0.478431 0.603922 0.447059 )
  14.         tcMod rotate -2288
  15.         tcMod stretch sin 1.3 0 0 0 
  16.     }
  17. }
  18.  
  19. f_bfg1
  20. {
  21.     deformVertexes autosprite
  22.     {
  23.         clampmap models/weapons2/bfg/f_bfg3.tga
  24.         blendfunc add
  25.         rgbGen const ( 0.376471 0.576471 0.403922 )
  26.         tcMod rotate 8288
  27.     }
  28.     {
  29.         clampmap models/weapons2/bfg/f_bfg3.tga
  30.         blendfunc add
  31.         rgbGen const ( 0.478431 0.603922 0.447059 )
  32.         tcMod rotate -2288
  33.         tcMod stretch sin 1.3 0 0 0 
  34.     }
  35. }
  36.  
  37. models/weapons2/bfg/bfgbody
  38. {
  39.     cull disable
  40.     {
  41.         map models\weapons2\bfg\bfgbody.tga
  42.     }
  43.     {
  44.         map textures\effects\skinspeciso.tga
  45.         blendfunc add
  46.         rgbGen lightingDiffuse
  47.         tcGen environment 
  48.     }
  49. }
  50.  
  51. models/weapons2/bfg/bfgtube
  52. {
  53.     cull disable
  54.     {
  55.         map models\weapons2\bfg\bfgtube.tga
  56.         blendfunc blend
  57.         rgbGen lightingDiffuse
  58.         tcMod scroll -0.04 0
  59.         alphaGen wave inversesawtooth 0.5 0 0 1 
  60.     }
  61.     {
  62.         map models\weapons2\bfg\bubbles.tga
  63.         blendfunc gl_src_alpha gl_one
  64.         rgbGen lightingDiffuse
  65.         tcMod scale 1.8 1
  66.         tcMod scroll -2 0
  67.     }
  68.     {
  69.         map textures\effects\tinfx3.tga
  70.         blendfunc add
  71.         rgbGen lightingDiffuse
  72.         tcGen environment 
  73.     }
  74. }
  75.  
  76. f_bfg2
  77. {
  78.     cull disable
  79.     {
  80.         clampmap models/weapons2/bfg/f_bfg2.tga
  81.         blendfunc add
  82.         rgbGen const ( 0.694118 0.694118 0.694118 )
  83.         tcMod rotate 2122
  84.     }
  85.     {
  86.         clampmap models/weapons2/bfg/f_bfg2.tga
  87.         blendfunc add
  88.         rgbGen const ( 0.286275 0.54902 0.25098 )
  89.         tcMod rotate -3201
  90.         tcMod stretch sin 1.3 0 0 0 
  91.     }
  92. }
  93.  
  94.  
  95. BFGNexus
  96. {
  97.     deformVertexes autoSprite
  98.     {
  99.         clampmap models/weaphits/bfg.tga
  100.         blendfunc add
  101.         tcMod rotate 999
  102.     }
  103.     {
  104.         clampmap models/weaphits/bfg3.tga
  105.         blendfunc add
  106.         rgbGen const ( 0.188235 0.247059 0.180392 )
  107.         tcMod rotate 700
  108.         tcMod stretch sin 1.3 0.3 0 4 
  109.     }
  110.     {
  111.         clampmap models/weaphits/bfg2.tga
  112.         blendfunc add
  113.         rgbGen const ( 0.254902 0.352941 0.227451 )
  114.         tcMod rotate 244
  115.         tcMod stretch sin 1.3 0.3 0 4 
  116.     }
  117. }
  118.  
  119. BFGTrail
  120. {
  121.     cull disable
  122.     {
  123.         clampmap models/weaphits/bfg2.tga
  124.         blendfunc add
  125.         rgbGen const ( 0.694118 0.694118 0.694118 )
  126.         tcMod rotate 1522
  127.     }
  128.     {
  129.         clampmap models/weaphits/bfg2.tga
  130.         blendfunc add
  131.         rgbGen const ( 0.286275 0.54902 0.25098 )
  132.         tcMod rotate -1222
  133.         tcMod stretch sin 1.3 0.3 0 4 
  134.     }
  135. }
  136.  
  137.