home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / scripts / sunflare.shader < prev    next >
Encoding:
Text File  |  2002-10-21  |  1.2 KB  |  71 lines

  1. textures/sprites/sunflare_main
  2. //SED: Core of the sunsource
  3. {
  4.     surfaceparm nolightmap
  5.     cull none
  6.     {
  7.         map textures/sprites/flare_main.tga
  8.         blendFunc GL_SRC_ALPHA GL_ONE
  9.         alphaGen fromClient
  10.         rgbGen fromClient
  11.         noDepthTest
  12.  
  13.     }
  14. }
  15.  
  16. textures/sprites/corona
  17. //SED: Core of the sunsource
  18. {
  19.     surfaceparm nolightmap
  20.     cull none
  21.     {
  22.         map textures/sprites/flare_main.tga
  23.         blendFunc GL_SRC_ALPHA GL_ONE
  24.         alphaGen fromClient
  25.         rgbGen fromClient
  26.         noDepthTest
  27.     }
  28. }
  29.  
  30. textures/sprites/sunflare_middle
  31. //SED: Middle distance from the sunsource
  32. {
  33.     surfaceparm nolightmap
  34.     cull none
  35.     {
  36.         map textures/sprites/flare_orange2_darker_dots.tga
  37.         blendFunc GL_SRC_ALPHA GL_ONE
  38.         alphaGen fromClient
  39.         rgbGen fromClient
  40.         noDepthTest
  41.  
  42.     }
  43. }
  44.  
  45. textures/sprites/sunflare_furthest
  46. //SED: Furthest from the sunsource
  47. {
  48.     surfaceparm nolightmap
  49.     cull none
  50.     {
  51.         map textures/sprites/orange_dot.tga
  52.         blendFunc GL_SRC_ALPHA GL_ONE
  53.         alphaGen fromClient
  54.         rgbGen fromClient
  55.         noDepthTest
  56.  
  57.     }
  58. }
  59.  
  60. textures/jack/whitefade
  61. //SED: Nasty screen overlay
  62. {
  63.     surfaceparm nolightmap
  64.     cull none
  65.     {
  66.         map $whiteimage
  67.         blendfunc GL_SRC_ALPHA GL_ONE
  68.         alphaGen fromClient
  69.         noDepthTest
  70.     }
  71. }