Talk:$color

From Valve Developer Community
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?

Brain fart... tried without the quotation marks around the $color and it's working. --Shawnolson 15:00, 17 September 2011 (PDT)