Transparency?
Posted: Fri Aug 15, 2003 3:38 am
Is there any way to change transparency of a brush/model??
here is a shader I made for a dust beam a while ago I think that the rbg constant will set the transparency level and can be set for both textures . $whiteimage is an internal texture and can be called by the user . You may need a make a custom model.tik if you want to use both in the game and it may be possible to do something like this to a script_object6.2.1.3 blendfunc blend
Shorthand for blendfunc gl_src_alphagl_one_minus_src_alpha. This is conventional transparency, where part of the background is mixed with part of the texture.
This is the shader manual I looked at http://www.qeradiant.com/manual/Q3AShader_Manual/textures/brian/my_dustbeam2
{
qer_editorimage textures/brian/dustbeam3.tga
qer_keyword utility
qer_trans .4
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm trans
sort additive
cull none
{
map $whiteimage
blendFunc add
rgbGen constant .1 .1 .1 //was .15
nextbundle
map textures/common/qer_volumetric_fade.tga
}