i have this shader
textures/outer_space/Portal_light
{
qer_editorimage textures/outer_space/Spacelight_1.jpg
q3map_surfacelight 4000
cull none
surfaceparm nomarks
qer_trans 0.5
surfaceparm trans
{
map $lightmap
rgbGen identity
tcGen lightmap
}
{
map textures/outer_space/Spacelight_1.jpg
blendfunc filter
blendFunc GL_DST_COLOR GL_ZERO
//rgbGen const ( 0.241176 0.241176 0.241176 )
}
{
map textures/outer_space/Spacelight_1.jpg
blendfunc add
rgbGen wave sin 0 1 0.9 0.2
}
{
map textures/outer_space/Spacelight_1.jpg
blendfunc add
rgbGen wave sin 0 1 0.9 0.3
}
{
map textures/outer_space/Spacelight_1.jpg
blendfunc add
rgbGen wave sin 0 1 0.9 0.7
}
{
map textures/outer_space/Spacelight_1.jpg
blendfunc add
rgbGen wave sin 0 1 0.9 0.9
}
}
weks nice as a texture that gets brighter and draker, but i cant seem to make it like 50% transparant too.
anyone can help me out in this one ?



