Talk:$color

From Valve Developer Community
Revision as of 09:59, 17 September 2011 by Shawnolson (talk | contribs) (→‎Solid Color: new section)
Jump to navigation Jump to search

Does $color apply to the whole material, or just the RGB of the $basetexture ?

Solid Color

The docs state:

This parameter can be used without an albedo to display a solid color without the need of a texture

But when I use a VMT like this:

"VertexLitGeneric"
{

	 "$color" "{165.0 150.0 218.0}"
}

The material is always just white. Is this limited to a certain shader?

The material is loading on the model... but it is simply white. Is there some special step for this?