HLSL Semantics

Hi there!

I’m just working through the ex9 documentation. In the page about the ex9.effect.file the semantic “COLOR” is being mentioned. I couldn’t find it at the EX9.HLSL.Semantics page. Just a mistake, or deliberatly?

Greetings,

drehwurm

Hi drehwurm,
have a look at this:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb509647(v=vs.85).aspx#VS

COLOR, or COLOR0 is a shader semantic like TEXCOORD0 etc.
If you want to use vertex colors inside the vertex- or pixelshader you will have to use this.

-readme

good find. i just added it.