mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-28 14:42:33 +00:00
63 lines
No EOL
1.4 KiB
GLSL
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
|
|
}
|
|
|
|
|
|
|
|
} |