q3rally/baseq3r/scripts/weapon_plasma.shader
2011-02-18 14:31:32 +00:00

126 lines
2.1 KiB
GLSL

models/weapons2/plasma/f_plasmagun2
{
cull disable
{
clampmap textures/flares/lava.tga
blendfunc add
rgbGen const ( 0 0.0862745 0.235294 )
tcMod rotate 8455
tcMod stretch sin 0 1 0 2
}
{
clampmap textures/flares/flarey.tga
blendfunc add
rgbGen const ( 0.447059 0.623529 0.921569 )
tcMod rotate 1466
tcMod stretch sin 0 1 0 1
}
{
clampmap textures/flares/twilightflare.tga
blendfunc add
rgbGen const ( 0.447059 0.623529 0.921569 )
tcMod rotate -6455
}
}
models/weapons2/plasma/f_plasmagun3
{
deformVertexes autosprite
{
clampmap textures/flares/twilightflare.tga
blendfunc add
tcMod rotate 1246
}
{
clampmap textures/flares/twilightflare.tga
blendfunc add
tcMod rotate -1246
}
}
models/weapons2/plasma/muzzlecenter
{
deformVertexes autosprite
{
clampmap textures/flares/twilightflare.tga
blendfunc add
tcMod rotate 1246
}
{
clampmap textures/flares/twilightflare.tga
blendfunc add
tcMod rotate -1246
}
}
models/weapons2/plasma/blackchrome
{
{
map models/weapons2/plasma/blackchrome.tga
rgbGen lightingDiffuse
tcGen environment
}
}
models/weapons2/plasma/skin
{
{
map models/weapons2/plasma/skin.tga
rgbGen identity
}
{
map textures/effects/tinfx2d.tga
blendfunc add
rgbGen identity
tcMod scroll 1 0
tcMod scale 2 2
}
{
map models/weapons2/plasma/skin.tga
rgbGen lightingDiffuse
alphaFunc GE128
}
}
models/weapons2/plasma/blackhandle
{
{
map models/weapons2/plasma/blackhandle.tga
rgbGen lightingDiffuse
tcGen environment
}
}
models/weapons2/plasma/muzzlside
{
cull disable
{
map models/weapons2/plasma/muzzlside.tga
blendfunc add
}
}
models/weapons2/plasma/muzzlecenter
{
deformVertexes autosprite
{
clampmap models/weapons2/plasma/f_plasma.tga
blendfunc add
tcMod rotate 1246
}
{
clampmap models/weapons2/plasma/f_plasma.tga
blendfunc add
tcMod rotate -1246
}
}
models/weapons2/plasma/flare
{
deformVertexes autosprite
{
map models/weapons2/plasma/flare.tga
blendfunc add
}
}