home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Inne / Gry / OpenArena / baseoa / pak0.pk3 / scripts / weaponry.shader < prev   
Encoding:
Text File  |  2007-03-22  |  1.2 KB  |  87 lines

  1. // models/weapons2/shotgun/f_shotgun
  2. //{
  3. //    sort additive
  4. //    cull disable
  5. //    {
  6. //        map    models/weapons2/shotgun/f_shotgun.tga
  7. //        blendfunc add
  8. //    }
  9. //} 
  10.  
  11. muzzleSprite
  12. {
  13.     sort additive
  14.     cull disable
  15.     deformVertexes autosprite
  16.     {
  17.         map    models/weapons2/shotgun/shotgun_flash.tga
  18.         blendfunc add
  19.     }
  20. }
  21. muzzleSide
  22. {
  23.     sort additive
  24.     deformVertexes autosprite2
  25.     {
  26.         map    models/weapons2/shotgun/shotgun_flashside.tga
  27.         blendfunc add
  28.     }
  29. }
  30.  
  31. muzzleSphere
  32. {
  33.     sort additive
  34.     cull disable
  35.     {
  36.         map    models/weapons2/shotgun/shotgun_flash.tga
  37.         blendfunc add
  38.     }
  39. }
  40.  
  41. rocketProjectile
  42. {
  43.  
  44.     {
  45.         map    models/ammo/rocket/rocket.tga
  46.     rgbGen lightingDiffuse
  47.     }
  48.     {
  49.         map models/weapons2/machinegun/woodspec.tga
  50.         blendfunc gl_dst_color gl_src_color
  51.         //rgbGen lightingDiffuse
  52.         tcGen environment 
  53.     }
  54. }
  55.  
  56. rocketThrustf
  57. {
  58.     deformVertexes autosprite2
  59.     {
  60.         map models/weapons2/machinegun/f_machinegun.tga
  61.         blendfunc add
  62.         tcMod rotate 1246
  63.     }
  64.     {
  65.         map models/weapons2/machinegun/f_machinegun.tga
  66.         blendfunc add
  67.         tcMod rotate -1246
  68.     }
  69. }
  70.  
  71. rocketThrust
  72. {
  73.     {
  74.     // do nothing.
  75.     }
  76. }
  77. rocketFlare
  78. {
  79.     deformVertexes autosprite
  80.     {
  81.         map textures/oafx/rocketflare.tga
  82.         blendfunc add
  83.         
  84.     }
  85.     
  86. }
  87.