Alphamask color


Wile E Coyote
08-12-2006, 04:57 PM
I keep forgetting this

to tint your alphamask a color, which numbers are which colors??

"$envmapsaturation" .1 .1 .1

Wile E Coyote
08-12-2006, 08:07 PM
LOL once I figured out the right varible to search for, I found it.

"$envmaptint" "[.1 .1 .1 ]"

in order:

[ X=red X=green X=blue]

range is from 0 to 1

"$envmaptint" "[1 1 1]" will be like a mirror while
"$envmaptint" "[.5 .5 .7]" will be less shiny, but with a blue tint to it

http://developer.valvesoftware.com/wiki/Creating_Reflective_Materials

Seriously though, the valve wiki needs a better index :P

edited because I am a dumb <3<3<3 (what the father always calls his son on "That 70's Show")

cruzaderazn
08-13-2006, 08:54 AM
good to know

Trp. Jed
08-13-2006, 09:15 AM
red, yellow, blue??? :confused:

You sure that's right?

Wile E Coyote
08-13-2006, 09:50 AM
Originally posted by Trp. Jed
red, yellow, blue??? :confused:

You sure that's right? Yup. Thourghly tested.

EDIT:

ROFL you are right dude, I meant green. It was early in the morning when I was writing ;) truth is when I was futzing with the variables and using the HLMV to view the results, the middle variable ALWAYS ended up looking yellow, not green. Not sure why. That was with a white light.

Maybe the envmap used by the HLMV has a yellow tint to it or something.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.