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