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?
Light beam
Moderator: Moderators
Here is and example of what I did for my shader .
or this one
the rgbconstant is how transparent it is also you I find adjusting the scale helped .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
}
}
or this one
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 .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
}
}