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

  1. //=============================
  2. //
  3. // 'Sidrial' UI shaders;
  4. //
  5. // . blank
  6. // . sp1_endframe
  7. // . filter
  8. // . greenhue
  9. // . blackhue
  10. // . format
  11. // . swooshb
  12. // . sub_swooshb
  13. // . hilight2
  14. // . loadingBackground
  15. //
  16. //=============================
  17.  
  18. blank
  19. {
  20.     nopicmip
  21.     nomipmaps
  22.  
  23.     {
  24.         map ui/sidrial/blank.tga
  25.     }
  26. }
  27. sp1_endframe
  28. {    
  29.     nopicmip
  30.     nomipmaps    
  31.  
  32.     {
  33.         map ui/sidrial/sp1_endframe.tga
  34.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  35.     }
  36.     
  37. }
  38. filter
  39. {    
  40.     nopicmip
  41.     nomipmaps    
  42.  
  43.     {
  44.         map ui/sidrial/background_filter.tga
  45.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  46.     }
  47.     
  48. }
  49. greenhue
  50. {    
  51.     nopicmip
  52.     nomipmaps    
  53.  
  54.     {
  55.         map ui/sidrial/green_exit.tga
  56.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  57.     }
  58.     
  59. }
  60. blackhue
  61. {    
  62.     nopicmip
  63.     nomipmaps    
  64.  
  65.     {
  66.         map ui/sidrial/green_exit.tga
  67.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  68.     }
  69.     
  70. }
  71. format
  72. {
  73.     nopicmip
  74.     nomipmaps
  75.     {
  76.         map ui/sidrial/format.tga
  77.         blendfunc gl_src_alpha gl_one_minus_src_alpha 
  78.     }
  79. }
  80.  
  81.  
  82. swooshb
  83. {
  84.     nopicmip
  85.     nomipmaps
  86.     {
  87.         map ui/sidrial/swoosh_bottom.tga
  88.         blendfunc gl_src_alpha gl_one_minus_src_alpha 
  89.     }
  90.  
  91.     {
  92.         map ui/sidrial/swoosh_top.tga
  93.         blendfunc filter
  94.     }
  95. }
  96.  
  97. sub_swooshb
  98. {
  99.     nopicmip
  100.     nomipmaps
  101.     {
  102.         map ui/sidrial/sub/swoosh_bottom.tga
  103.         blendfunc gl_src_alpha gl_one_minus_src_alpha 
  104.     }
  105.  
  106.     {
  107.         map ui/sidrial/sub/swoosh_top.tga
  108.         blendfunc filter
  109.     }
  110. }
  111. hilight2
  112. {    
  113.     nopicmip
  114.     nomipmaps    
  115.  
  116.     {
  117.         map ui/sidrial/hilight2.tga
  118.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  119.     }
  120.     
  121. }
  122.  
  123. loadingBackground
  124. {
  125.     nopicmip
  126.     nomipmaps
  127.     {
  128.         map ui/assets/background.tga
  129.     }
  130.     {
  131.         map textures/sfx/detail.tga
  132.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  133.         rgbgen identity
  134.         tcMod scale 2.5 2
  135.     }
  136. }
  137.  
  138. //=============================
  139. //
  140. // 'Sidrial' UI Background shaders;
  141. //
  142. // . singleplayer
  143. // . createserver
  144. // . playersetup
  145. // . systemconfig
  146. // . cinematics
  147. //=============================
  148.  
  149. singleplayer
  150. {
  151.     nopicmip
  152.     nomipmaps
  153.  
  154.     {
  155.         map ui/backgrounds/singleplayer.tga
  156.     }
  157. }
  158. createserver
  159. {
  160.     nopicmip
  161.     nomipmaps
  162.  
  163.     {
  164.         map ui/backgrounds/createserver.tga
  165.     }
  166. }
  167. playersetup
  168. {
  169.     nopicmip
  170.     nomipmaps
  171.  
  172.     {
  173.         map ui/backgrounds/playersetup.tga
  174.     }
  175. }
  176. systemconfig
  177. {
  178.     nopicmip
  179.     nomipmaps
  180.  
  181.     {
  182.         map ui/backgrounds/systemconfig.tga
  183.     }
  184. }
  185. cinematics
  186. {
  187.     nopicmip
  188.     nomipmaps
  189.  
  190.     {
  191.         map ui/backgrounds/cinematics.tga
  192.     }
  193. }
  194.