* May 19, 2013, 03:21:53 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Come Chat with us live! Learn how HERE!
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Window shader help  (Read 981 times)
Mexel


Turrets: +7/-3
Posts: 94


WWW
« on: July 06, 2007, 06:42:35 AM »

Kai so here's what i'm using for my window shader;

Code:
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  Cheesy
Logged

Paradox

*
*

Turrets: +253/-250
Posts: 2610


I eat babies!


WWW
« Reply #1 on: July 06, 2007, 06:59:10 AM »

There was an alpha property, but i forgot what it was.
Search q3 shader manual, then alpha/opacity
Logged


∧OMG ENTROPY∧
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
TremPlus theme by Ingar, based on AF316 theme by Fedhog
Valid XHTML 1.0! Valid CSS!