Original Post
Hello guys, I'm wondering if you have managed to use System Value IsFrontFace. I'm working with the 5308 CTP of Vista (latest dx sdk) and it just doesn't work, it returns allways false. (btw i don't use GS in my technique, so this pipeline stage is set to NULL) I'm using it this way but maybe i'm wrong :
PS_OUTPUT PS(PS_INPUT input, bool isFrontFace : SV_IsFrontFace)
{
PS_OUTPUT ouput = (PS_OUTPUT)0;
// Compute
if(isFrontFace)
{
...
}
else
{
...
}
return output;
}
any help appreciated !