Talk:$color: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Shawnolson (talk | contribs) (→Solid Color: new section) |
||
Line 1: | Line 1: | ||
Does [[$color]] apply to the whole material, or just the RGB of the [[$basetexture]] ? | Does [[$color]] apply to the whole material, or just the RGB of the [[$basetexture]] ? | ||
== Solid Color == | |||
The docs state: | |||
<blockquote>This parameter can be used without an albedo to display a solid color without the need of a texture</blockquote> | |||
But when I use a VMT like this: | |||
<syntaxhighlight> | |||
"VertexLitGeneric" | |||
{ | |||
"$color" "{165.0 150.0 218.0}" | |||
} | |||
</syntaxhighlight> | |||
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? |
Revision as of 09:59, 17 September 2011
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?