mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-25 21:31:34 +00:00
186 lines
3 KiB
GLSL
186 lines
3 KiB
GLSL
// // // // SHADERS FOR OPEN ARENA AMMOBOX POWERUPS
|
|
// // // // jzero --> johnzero@verizon.net
|
|
// 1.machinegun
|
|
models/powerups/ammo/machammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 1 1 0 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/machammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/machammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
// 2.shotgun
|
|
models/powerups/ammo/shotammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 1 0.5 0 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/shotammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/shotammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
// 3.grenade launcher
|
|
models/powerups/ammo/grenammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 0 0.56 0 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/grenammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/grenammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
// 4.lightning gun
|
|
models/powerups/ammo/lighammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 1 1 0.69 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/lighammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/lighammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
// 5.plasma gun
|
|
models/powerups/ammo/plasammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 0.8 0 1 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/plasammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/plasammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
//6.rocket launcher
|
|
models/powerups/ammo/rockammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 1 0 0 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/rockammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/rockammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
//7. railgun
|
|
models/powerups/ammo/railammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 0 1 0 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/railammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/railammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|
|
//8. BFG
|
|
models/powerups/ammo/bfgammo
|
|
{
|
|
{
|
|
map models/powerups/ammo/ammobox.tga
|
|
rgbGen lightingDiffuse
|
|
}
|
|
{
|
|
map models/powerups/ammo/ammolights.tga
|
|
blendfunc blend
|
|
rgbGen const ( 0 0.4 1 )
|
|
alphaGen wave sawtooth 0 1 0 1
|
|
}
|
|
}
|
|
|
|
models/powerups/ammo/bfgammo2
|
|
{
|
|
{
|
|
map models/powerups/ammo/bfgammo2.tga
|
|
rgbGen identity
|
|
}
|
|
}
|
|
|