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