Talk:$selfillum

From Valve Developer Community
Jump to: navigation, search

$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"
}