home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Inne / Gry / OpenArena / baseoa / pak0.pk3 / scripts / cf_models.shader < prev    next >
Encoding:
Text File  |  2008-04-10  |  1.2 KB  |  59 lines

  1. //Shaderfile for md3 models
  2.  
  3. models/mapobjects/cosmoflash/teleporter3
  4. {
  5.     {
  6.         map textures/cosmo_sfx/pulse.jpg
  7.         tcMod scroll 0 1
  8.         tcMod stretch sin 1 0.8 1 0.4
  9.     }
  10.     {
  11.         map textures/cosmo_sfx/stoerung.jpg
  12.         blendFunc GL_ONE GL_ONE
  13.         rgbgen wave sin .25 0.1 0 0.1
  14.         tcMod scroll 0 10
  15.     }    
  16.     {
  17.         map textures/cosmo_sfx/stoerung.jpg
  18.         blendFunc GL_ONE GL_ONE
  19.         rgbgen wave sin 0.25 0.1 0 0.1
  20.         tcMod scale  -1 1
  21.         tcMod scroll 0 -5
  22.     }
  23.     {
  24.         map models/mapobjects/cosmoflash/teleporter3.tga
  25.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  26.         alphaFunc GT0
  27.         depthWrite
  28.         rgbGen identity
  29.     }
  30.     {
  31.         map $lightmap 
  32. //        blendfunc gl_dst_color gl_one_minus_dst_alpha
  33.         blendFunc GL_DST_COLOR GL_ZERO
  34.         rgbGen identity
  35.     }
  36. }
  37.  
  38.  
  39. models/mapobjects/cosmoflash/torch1
  40. {
  41.  
  42.     {
  43.         map models/mapobjects/cosmoflash/torch1.tga
  44.         rgbGen identity
  45.     }
  46.     
  47.     {
  48.         map $lightmap 
  49.         blendfunc filter
  50.         rgbGen identity
  51.     }
  52. }
  53.  
  54.  
  55.  
  56. models/mapobjects/weaponpod/weaponpod
  57. {
  58.     surfaceparm metalsteps
  59.  
  60.     {
  61.         map textures/base_floor/clang_floor_s2.jpg
  62.         rgbGen identity
  63.     }
  64.     
  65.     {
  66.         map $lightmap 
  67.         blendfunc filter
  68.         rgbGen identity
  69.     }
  70. }
  71.