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?



Hi drehwurm,
have a look at this:

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.


good find. i just added it.