Transparency?
Moderator: Moderators
Transparency?
Is there any way to change transparency of a brush/model??
I am sure you can by makeing a custom shader . I had a quick look at the shader manual it has things like
$mybrush shader textures/brian/my_dustbeam2
but I don't know about that for sure . There are also animated textures I think t|trude might know something about that . Any way the models use shaders so I'dd try it .
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.
$mybrush shader textures/brian/my_dustbeam2
but I don't know about that for sure . There are also animated textures I think t|trude might know something about that . Any way the models use shaders so I'dd try it .
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
}
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
