Tremulous Forum

Media => Mapping Center => Topic started by: Mexel on July 06, 2007, 07:42:35 am

Title: Window shader help
Post by: Mexel on July 06, 2007, 07:42:35 am
Kai so here's what i'm using for my window shader;

Code: [Select]
textures/niveus/glass_02_s
{
qer_editorimage textures/niveus/scratchglass.jpg
surfaceparm nomarks
surfaceparm trans
{
map textures/niveus/scratchglass.jpg
blendfunc add
rgbGen const ( 0.1 0.1 0.1 )
}
{
map $lightmap
blendfunc gl_dst_color gl_src_alpha
rgbGen identity
tcGen lightmap
}
}


Works fine and all, with one exception. what do i modify to make the window appear "less see-through" see i'm using this window to hides a few pipes and whatnot, and they're a tad too transparent fo my liking. So if i could, i'd like to lessen the transparency by about 50-60%.

KTHXBAI  :D
Title: Window shader help
Post by: Paradox on July 06, 2007, 07:59:10 am
There was an alpha property, but i forgot what it was.
Search q3 shader manual, then alpha/opacity