home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 87 / CDMM87_1.ISO / Sidrial / data1.cab / Program_Files / sidrial0.pk3 / scripts / sidrial_items.shader < prev    next >
Encoding:
Text File  |  2002-01-14  |  2.1 KB  |  131 lines

  1. //=============================
  2. //
  3. // 'Sidrial' Item shaders;
  4. //
  5. // . ammoItem
  6. // . ammoEnergy
  7. // . datasphere_sphere
  8. // . datasphere_support
  9. // . datasphere_base
  10. // . healthCanister
  11. //
  12. //=============================
  13.  
  14. models/powerups/ammo/ammoItem
  15.  
  16. {
  17.     sort banner
  18.     cull disable
  19.     
  20.     {
  21.     map textures/sidrial_tex/sidrial_spreflection_item.tga
  22.     blendfunc add
  23.     tcGen environment
  24.     }    
  25.     {
  26.     map models/powerups/ammo/ammoItem.tga
  27.     blendFunc blend
  28.     depthwrite
  29.     rgbGen lightingDiffuse
  30.     }
  31.  
  32. //    {
  33. //    map $lightmap
  34. //    rgbGen identity
  35. //    blendFunc GL_DST_COLOR GL_ZERO
  36. //    depthFunc equal
  37. //    }
  38.  
  39. }
  40.  
  41. models/powerups/ammo/ammoEnergy
  42.  
  43. {
  44.     qer_editorimage models/powerups/ammo/ammoEnergy.tga
  45.     surfaceparm trans
  46.     surfaceparm nomarks
  47.     surfaceparm nolightmap
  48.     sort banner
  49.     cull none
  50.     
  51.     {
  52.     map models/powerups/ammo/ammoEnergy.tga
  53. //    blendfunc add
  54.     tcMod scale 10 4
  55.     tcMod scroll 0 4
  56.     }
  57.  
  58. }
  59.  
  60. models/powerups/holdable/datasphere_sphere
  61.  
  62. {
  63. //    surfaceparm trans
  64. //    surfaceparm nomarks
  65. //    surfaceparm nolightmap
  66.     cull none
  67.     
  68.     {
  69.     map textures/sidrial_tex/sidrial_spreflection_item.tga
  70.     tcGen environment
  71.     }
  72.     {
  73.     map models/powerups/holdable/dataSphere_sphere.tga
  74.     blendfunc add
  75.     tcMod scale 2 2
  76.     tcMod scroll 0.66 0
  77.     }
  78.     {
  79.     map models/powerups/holdable/dataSphere_sphere.tga
  80.     blendfunc add
  81.     tcMod scroll -0.1 0
  82.     }
  83. }
  84.  
  85. models/powerups/holdable/datasphere_support
  86. {
  87.     deformVertexes autosprite2
  88.     cull none
  89.     
  90.     {
  91.     map models/powerups/holdable/dataSphere_support.tga
  92.     blendfunc add
  93.     tcMod scroll -3 0
  94.     }
  95.  
  96. }
  97.  
  98. models/powerups/holdable/datasphere_base
  99. {
  100.     {
  101.         map textures/sidrial_tex/sidrial_spreflection_item.tga
  102.         tcGen environment
  103.     }
  104.     {
  105.         map models/powerups/holdable/dataSphere_base.tga
  106.         blendfunc blend
  107.         rgbGen lightingDiffuse
  108.     }
  109.     {
  110.         map models/powerups/holdable/dataSphere_base_lights.tga
  111.         blendfunc add
  112.         rgbGen wave square 0 1 0 1
  113.     }
  114. }
  115.  
  116. models/powerups/health/healthCanister
  117. {
  118.     {
  119.         map textures/effects/tinfx2d.jpg
  120.         tcGen environment
  121.     }
  122.     {
  123.         map models/powerups/health/healthCanister.tga
  124.         blendfunc blend
  125.         rgbGen lightingdiffuse
  126.     }
  127.     {
  128.         map $lightmap
  129.         blendFunc filter
  130.     }
  131. }