q3rally/baseq3r/scripts/blimp.shader
2022-03-03 21:58:53 +01:00

63 lines
No EOL
1.4 KiB
GLSL

// ------------------------------------------------------------
// Shaders for Q3Rally Blimp - rewritten by P3rlE
// based on the blimp.shader from stecki
// ------------------------------------------------------------
// ------------------------------------------------------------
// 1.Blimp (green)
// ------------------------------------------------------------
models/mapobjects/blimp/green
{
{
map models/mapobjects/blimp/green.tga
// blendfunc gl_one gl_one
rgbGen wave sin .5 .5 0 .5
}
}
// ------------------------------------------------------------
// 2.Blimp (red)
// ------------------------------------------------------------
models/mapobjects/blimp/red
{
{
map models/mapobjects/blimp/red.tga
// blendfunc gl_one gl_one
rgbGen wave sin .5 .5 0 .5
}
}
// ------------------------------------------------------------
// 3.Blimp (blimp01)
// ------------------------------------------------------------
models/mapobjects/blimp/blimp01
{
{
map models/mapobjects/blimp/blimp01.tga
rgbGen exactVertex
}
}
// ------------------------------------------------------------
// 4.Blimp (blimp02)
// ------------------------------------------------------------
models/mapobjects/blimp/blimp02
{
{
map models/mapobjects/blimp/q3r.tga
tcMod scroll .2 0
rgbGen identity
}
{
map models/mapobjects/blimp/blimp02.tga
blendFunc blend
rgbGen vertex
}
}