Author Topic: Window shader help  (Read 2297 times)

Mexel

  • Posts: 95
  • Turrets: +7/-3
    • My old website is BACK!
Window shader help
« 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

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Window shader help
« Reply #1 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

∧OMG ENTROPY∧