Difference between revisions of "Talk:$selfillum"

From Valve Developer Community
Jump to: navigation, search
($selfillummask vs $selfillumtexture)
($selfillummask and DX80: new section)
 
Line 4: Line 4:
 
:No clue to be honest... --[[User:Craziestdan|Craziestdan]] 19:16, 24 January 2009 (UTC)
 
:No clue to be honest... --[[User:Craziestdan|Craziestdan]] 19:16, 24 January 2009 (UTC)
 
:: I looked at it closely and only $selfillummask works. --[[User:Pdan4|Pdan4]] 4:23, 31 January 2011 (UTC)
 
:: I looked at it closely and only $selfillummask works. --[[User:Pdan4|Pdan4]] 4:23, 31 January 2011 (UTC)
 +
 +
== $selfillummask and DX80 ==
 +
 +
Does anyone know if $selfillummask works for DX80 and lower? I ask because I came across the code below.
 +
 +
// Use separate self-illum mask on Pre DX9 hardware
 +
">=DX90"
 +
{
 +
"$baseTexture" "models\weapons\w_stickybomb/w_stickybomb_red_noalpha"
 +
"$selfillummask" "models\weapons\w_stickybomb/w_stickybomb_selfillum"
 +
}
 +
 +
// Use redundant self-illum in base alpha on Pre DX9 hardware
 +
"<DX90"
 +
{
 +
"$baseTexture" "models\weapons\w_stickybomb/w_stickybomb_red"
 +
}

Latest revision as of 13:34, 24 December 2011

$selfillummask vs $selfillumtexture

What's the difference? --TomEdwards 14:09, 24 January 2009 (UTC)

No clue to be honest... --Craziestdan 19:16, 24 January 2009 (UTC)
I looked at it closely and only $selfillummask works. --Pdan4 4:23, 31 January 2011 (UTC)

$selfillummask and DX80

Does anyone know if $selfillummask works for DX80 and lower? I ask because I came across the code below.

// Use separate self-illum mask on Pre DX9 hardware
">=DX90"
{
	"$baseTexture" 		"models\weapons\w_stickybomb/w_stickybomb_red_noalpha"
	"$selfillummask" 	"models\weapons\w_stickybomb/w_stickybomb_selfillum"
}

// Use redundant self-illum in base alpha on Pre DX9 hardware
"<DX90"
{
	"$baseTexture" 	"models\weapons\w_stickybomb/w_stickybomb_red"
}