$vertexcolor and $vertexalpha: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) (Created page with ''''<code>$vertexalpha</code>''' and '''<code>$vertexcolor</code>''' are two VMT commands that make the surface derive its alpha and color values from per-[[vertex…') |
TomEdwards (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
{{todo|Are these commands shader-agnostic?}} | {{todo|Are these commands shader-agnostic?}} | ||
[[Category:List of Shader Parameters]] | [[Category:List of Shader Parameters|V]] |
Revision as of 08:33, 27 March 2011
$vertexalpha
and $vertexcolor
are two VMT commands that make the surface derive its alpha and color values from per-vertex data provided by the engine.
Only particles are known to modify their vertex data, but it should be possible to implement your own scenarios too. Vertex alpha and color cannot be compiled into a model however.
Todo: Are these commands shader-agnostic?