Talk:$selfillum: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
What's the difference? --[[user:TomEdwards|TomEdwards]] 14:09, 24 January 2009 (UTC)
What's the difference? --[[user:TomEdwards|TomEdwards]] 14:09, 24 January 2009 (UTC)
: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]
:: 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"
}