| 1 |
//Shaderfile for md3 models |
| 2 |
|
| 3 |
models/mapobjects/cosmoflash/teleporter3
{ |
| 4 |
{ |
| 5 |
map textures/cosmo_sfx/pulse.jpg |
| 6 |
tcMod scroll 0 1 |
| 7 |
tcMod stretch sin 1 0.8 1 0.4 |
| 8 |
} |
| 9 |
{ |
| 10 |
map textures/cosmo_sfx/stoerung.jpg |
| 11 |
blendFunc GL_ONE GL_ONE |
| 12 |
rgbgen wave sin .25 0.1 0 0.1 |
| 13 |
tcMod scroll 0 10 |
| 14 |
} |
| 15 |
{ |
| 16 |
map textures/cosmo_sfx/stoerung.jpg |
| 17 |
blendFunc GL_ONE GL_ONE |
| 18 |
rgbgen wave sin 0.25 0.1 0 0.1 |
| 19 |
tcMod scale -1 1 |
| 20 |
tcMod scroll 0 -5 |
| 21 |
} |
| 22 |
{ |
| 23 |
map models/mapobjects/cosmoflash/teleporter3.tga |
| 24 |
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA |
| 25 |
alphaFunc GT0 |
| 26 |
depthWrite |
| 27 |
rgbGen identity |
| 28 |
} |
| 29 |
{ |
| 30 |
map $lightmap |
| 31 |
// blendfunc gl_dst_color gl_one_minus_dst_alpha |
| 32 |
blendFunc GL_DST_COLOR GL_ZERO |
| 33 |
rgbGen identity |
| 34 |
} |
| 35 |
} |
| 36 |
|
| 37 |
|
| 38 |
models/mapobjects/cosmoflash/torch1
{ |
| 39 |
|
| 40 |
{ |
| 41 |
map models/mapobjects/cosmoflash/torch1.tga |
| 42 |
rgbGen identity |
| 43 |
} |
| 44 |
|
| 45 |
{
map $lightmap
blendfunc filter
rgbGen identity
} |
| 46 |
} |
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
models/mapobjects/weaponpod/weaponpod
{
surfaceparm metalsteps |
| 51 |
|
| 52 |
{ |
| 53 |
map textures/base_floor/clang_floor_s2.jpg |
| 54 |
rgbGen identity |
| 55 |
} |
| 56 |
|
| 57 |
{
map $lightmap
blendfunc filter
rgbGen identity
} |
| 58 |
} |
| 59 |
|
| 60 |
|
| 61 |
models/mapobjects/cosmoflash/hand2
{ |
| 62 |
|
| 63 |
{ |
| 64 |
map models/mapobjects/cosmoflash/hand2_n1.tga |
| 65 |
rgbGen identity |
| 66 |
} |
| 67 |
|
| 68 |
{
map $lightmap
blendfunc filter
rgbGen identity
} |
| 69 |
} |
| 70 |
|
| 71 |
models/mapobjects/cosmoflash/cholder1a
{ |
| 72 |
|
| 73 |
{ |
| 74 |
map models/mapobjects/cosmoflash/cholder1a.tga |
| 75 |
rgbGen identity |
| 76 |
} |
| 77 |
|
| 78 |
{
map $lightmap
blendfunc filter
rgbGen identity
} |
| 79 |
} |
| 80 |
|
| 81 |
models/mapobjects/cosmoflash/menhir1 |
| 82 |
{ |
| 83 |
q3map_nonplanar |
| 84 |
q3map_shadeangle 72 |
| 85 |
{ |
| 86 |
map textures/cosmo_liquids/plasma_red.jpg |
| 87 |
// blendFunc GL_ONE GL_ZERO |
| 88 |
rgbGen wave sin 0.5 0.5 0 .1 |
| 89 |
// rgbGen identity |
| 90 |
} |
| 91 |
{ |
| 92 |
map models/mapobjects/cosmoflash/menhir1.tga |
| 93 |
blendFunc GL_ONE GL_SRC_ALPHA |
| 94 |
// depthWrite |
| 95 |
rgbGen identity |
| 96 |
} |
| 97 |
{
map $lightmap
blendfunc filter
rgbGen identity
} |
| 98 |
|
| 99 |
} |
| 100 |
|
| 101 |
models/mapobjects/cosmoflash/menhir2 |
| 102 |
{ |
| 103 |
q3map_nonplanar |
| 104 |
q3map_shadeangle 66 |
| 105 |
{ |
| 106 |
map textures/cosmo_liquids/plasma_red.jpg |
| 107 |
// blendFunc GL_ONE GL_ZERO |
| 108 |
rgbGen wave sin 0.5 0.5 0.5 .2 |
| 109 |
// rgbGen identity |
| 110 |
} |
| 111 |
{ |
| 112 |
map models/mapobjects/cosmoflash/menhir2.tga |
| 113 |
blendFunc GL_ONE GL_SRC_ALPHA |
| 114 |
rgbGen identity |
| 115 |
} |
| 116 |
{
map $lightmap
blendfunc filter
rgbGen identity
} |
| 117 |
} |
| 118 |
|
| 119 |
models/mapobjects/cosmoflash/fountain1
{ |
| 120 |
q3map_nonplanar |
| 121 |
q3map_shadeangle 89 |
| 122 |
{ |
| 123 |
map models/mapobjects/cosmoflash/fountain1.jpg |
| 124 |
blendFunc GL_ONE GL_ZERO |
| 125 |
rgbGen identity |
| 126 |
} |
| 127 |
|
| 128 |
{
map $lightmap
blendfunc filter
rgbGen identity
} |
| 129 |
} |
| 130 |
|
| 131 |
models/mapobjects/gargoyle/stoned
{ |
| 132 |
q3map_nonplanar |
| 133 |
q3map_shadeangle 179 |
| 134 |
{
map $lightmap
rgbGen identity
} |
| 135 |
{ |
| 136 |
map models/mapobjects/gargoyle/stoned.jpg |
| 137 |
blendfunc filter |
| 138 |
rgbGen identity |
| 139 |
} |
| 140 |
} |
| 141 |
|
| 142 |
models/mapobjects/cosmoflash/tele4_portal
{ |
| 143 |
{ |
| 144 |
map models/mapobjects/cosmoflash/tele4_portal.tga |
| 145 |
blendFunc GL_ONE GL_ZERO |
| 146 |
// blendfunc blend |
| 147 |
// blendFunc GL_ONE GL_SRC_ALPHA |
| 148 |
rgbGen identity |
| 149 |
} |
| 150 |
{
map $lightmap |
| 151 |
blendfunc filter
rgbGen identity
} |
| 152 |
} |
| 153 |
|
| 154 |
|
| 155 |
models/mapobjects/cosmoflash/tele4_portal2
{ |
| 156 |
cull none |
| 157 |
deformVertexes wave 100 sin 3 0 0 0 |
| 158 |
q3map_surfacelight 400 |
| 159 |
q3map_flare flareShader-wide |
| 160 |
{ |
| 161 |
map textures/pulchr/teleenv.tga |
| 162 |
blendfunc add |
| 163 |
tcMod rotate 30 |
| 164 |
tcMod scroll 1 0.1 |
| 165 |
tcGen environment |
| 166 |
} |
| 167 |
} |
| 168 |
|
| 169 |
models/mapobjects/cosmoflash/tele4_portal3
{ |
| 170 |
cull none |
| 171 |
{ |
| 172 |
map models/mapobjects/cosmoflash/tele4_portal.tga |
| 173 |
blendfunc blend |
| 174 |
// blendFunc GL_ONE GL_SRC_ALPHA |
| 175 |
rgbGen identity |
| 176 |
} |
| 177 |
} |
| 178 |
|
| 179 |
models/mapobjects/cosmoflash/tele4_frame
{ |
| 180 |
surfaceparm nomarks |
| 181 |
q3map_lightimage models/mapobjects/cosmoflash/tele4_frame_glow.jpg |
| 182 |
q3map_surfacelight 750 |
| 183 |
{
map $lightmap
rgbGen identity
} |
| 184 |
{ |
| 185 |
map models/mapobjects/cosmoflash/tele4_frame.tga |
| 186 |
blendfunc filter |
| 187 |
rgbGen identity |
| 188 |
} |
| 189 |
{ |
| 190 |
map models/mapobjects/cosmoflash/tele4_frame_glow.jpg |
| 191 |
blendfunc add |
| 192 |
rgbGen wave sin 0.25 0.25 0 .25 |
| 193 |
} |
| 194 |
} |
| 195 |
|