Page 1 of 1

Light beam

Posted: Tue May 20, 2003 4:06 pm
by Zip
I've been doing the light beam tutorial, but this is what mine looks like:

http://members.lycos.co.uk/zip1000/

Anyone know what i did wrong?

Posted: Wed May 21, 2003 2:28 pm
by bdbodger
Here is and example of what I did for my shader .
textures/mybeam/test1
{
qer_editorimage textures/mybeam/dustbeam5.tga
qer_keyword utility
qer_trans .4
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
sort additive
cull none
{
map textures/common/dust.tga
blendFunc add
rgbGen constant .15 .15 .15
tcMod scroll 0 .004 // was 0 -.1
tcMod scale 200 200 // was 4 4

}

}
the rgbconstant is how transparent it is also you I find adjusting the scale helped .
or this one
textures/mybeam/my_dustbeam3
{
qer_editorimage textures/mybeam/dustbeam4.tga
qer_keyword utility
qer_trans .4
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
sort additive
cull none
{
map $whiteimage
blendFunc add
rgbGen constant .005 .005 .005 //was .15
nextbundle
map textures/common/qer_volumetric_fade.tga
}
{
map textures/mybeam/dustbeam.tga
blendFunc add
rgbGen constant .2 .2 .2
tcMod scroll 0 .004 // was 0 -.1
tcMod scale 100 100 // was 4 4
nextbundle
map textures/common/qer_volumetric_fade.tga
}
}
I made several some with my own textures I think these two are ok I choose them because the use the textures in the game .

Posted: Wed May 21, 2003 8:18 pm
by Zip
It turned out I had the wrong textures :oops:

Thanks for the scripts though :wink: